[linux-audio-dev] precise event timer examples (HPET?)

Paul Davis paul at linuxaudiosystems.com
Tue May 30 11:51:35 UTC 2006


On Tue, 2006-05-30 at 09:23 +0200, Clemens Ladisch wrote:
> If you want to avoid the syscall overhead, you can try to call mmap() on
> /dev/hpet and read the timer directly.  In that case, you don't need to
> use any header.

and as a reminder, there is code within JACK now to do this, if you want
an example. it was written by jussi laako. jackd can be told to use the
HPET timer rather than gettimeofday or the cycle counter using the 
-"-clock hpet" command line argument.

the code is in JACK SVN, publically accessible at:

	http://subversion.jackaudio.org/jack/trunk/jack

--p "silly URL"






More information about the Linux-audio-dev mailing list