Re: [LAD] Timers, hpet, hrtimer

From: Paul Davis <paul@email-addr-hidden>
Date: Tue Nov 10 2009 - 21:45:52 EET

On Tue, Nov 10, 2009 at 1:33 PM, <fons@email-addr-hidden> wrote:

> What I don't see is how e.g. MIDI generators can use it
> in this way to get accurate event timing. Either they are
> spinning (evil), or they'd need a system call anyway, and
> it that case they should use kernel services instead.

you're confusing two different ways of interacting with the HPET.

as jussi described, the HPET consists of both a free-running timer,
and schedulable timers that cause interrupts. the comments earlier in
thread regarding MIDI scheduling rely on the second part of the HPET,
not the first, and yes, user space would interact with them via normal
system calls like usleep().
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Wed Nov 11 00:15:03 2009

This archive was generated by hypermail 2.1.8 : Wed Nov 11 2009 - 00:15:03 EET