Re: [LAD] Timers, hpet, hrtimer

From: <fons@email-addr-hidden>
Date: Tue Nov 10 2009 - 22:58:00 EET

On Tue, Nov 10, 2009 at 09:34:28PM +0200, Jussi Laako wrote:

> fons@email-addr-hidden wrote:
> > So you're just reading it, not waiting on it ? That indeed
> > should be 'free'.
>
> Yes, we just need to read it. JACK used to use TSC for that, and HPET
> support was introduced as similar low-cost alternative to deal with
> variable clock frequencies (important on mobile things) and unsynced
> TSC. Use of syscalls is kind of fallback.
>
> Audio hardware (interrupts) act as a waitable time source.

All perfectly logical. But what then is stopping the driver devs
from providing just read access to the main counter ? Who could
object to read-only access to a device register (if reading it
has no side effects) ?
 
Ciao,

-- 
FA
Io lo dico sempre: l'Italia è troppo stretta e lunga.
_______________________________________________
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:04 2009

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