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

From: Lee Revell
Date: Mon Oct 25 2004 - 23:12:22 EST


On Sun, 2004-10-24 at 15:02 +0100, Alan Cox wrote:
> You've got a good 48Khz or so clock
> in the audio device too so many games clock off the audio clock anyway.

This is OK for a game or mplayer but this is not 100% reliable, we need
to know if we missed an interrupt or didn't get scheduled in time. If
it were there would be no such thing as an xrun. For serious audio work
we want an xrun to be a fatal error.

For 2.6 it looks like sched_clock, the HPET, and maybe the PM timer may
do what we want, if the syscall overhead is tolerable.

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/