Subject: Re: Proposed changes to cc_microset().
To: None <>
From: Alan Barrett <>
List: tech-kern
Date: 07/08/2004 16:22:10
On Mon, 05 Jul 2004, Frederick Bruckman wrote:
> Please let me draw your attention to the following:
> [...]
> So, the point of the patch, is, to call cc_microset() more frequently,
> to update the base time for cc_microtime(), while actually doing the
> frequency calibration less frequently (1/10 second and 10 seconds,
> respectively).

While you are changing things in this area, it would be nice if you also
added a way for cc_microtime and friends to be informed of deliberate
changes in CPU speed (such as the i386 "Enhanced SpeedStep" stuff in

I haven't worked out the details, but I think that it should be possible
to add a function that gets called with both old and new nominal speeds
when the CPU speed is changed, and that frobs the information in struct
cpu_info to DTRT.

--apb (Alan Barrett)