[LAD] Timers, hpet, hrtimer

Paul Davis paul at linuxaudiosystems.com
Tue Nov 10 18:16:52 UTC 2009


On Tue, Nov 10, 2009 at 1:06 PM,  <fons at kokkinizita.net> wrote:
> On Tue, Nov 10, 2009 at 07:53:19PM +0200, Jussi Laako wrote:
>
>> Brokenness is that JACK is not interested on those sub-timers and the
>> driver should allocate those only via corresponding ioctl() and give
>> unlimited read access to the global timer value without failing early...
>
> If hpet services are available via the kernel (I assume in the
> form of fine-grained sleep, usleep, timetouts, etc.) why should
> Jack (or any app) use the HW timer directly ?

because we don't want to have to make a system call to get a high res
timer value.
JACK was written with the assumption that doing this is essentially free.



More information about the Linux-audio-dev mailing list