Re: How is user space notified of CPU speed changes?

From: Lee Revell
Date: Sat Oct 23 2004 - 00:23:35 EST


On Fri, 2004-10-22 at 12:23 +0100, Alan Cox wrote:
> On Gwe, 2004-10-22 at 00:01, Lee Revell wrote:
> > JACK needs to know the CPU speed, in order to calculate the DSP load
> > among other things. It used to be a valid assumption that you could
> > calculate it on startup and it would not change.
>
> No it did not. It has never been a safe assumption.

OK, thanks. Still no answer to my original question though.

JACK makes extensive use of microsecond-level timers. These must be
calibrated at startup, and recalibrated when the CPU speed changes. How
does JACK register with the kernel to be notified when the CPU speed
changes?

Lee


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/