[linux-audio-dev] high-res time measurement?

Steve Harris S.W.Harris at ecs.soton.ac.uk
Fri May 30 04:53:00 UTC 2003


On Thu, May 29, 2003 at 04:28:07 -0700, Josh Green wrote:
> void rdtsc(unsigned int *lsi, unsigned int *msi)
> {
>   __asm__ ("rdtsc" : "=a" (*lsi), "=d" (*msi));
> }

There is an ll version that writes directly to a 64bit int.
c.f. msr.h

- Steve



More information about the Linux-audio-dev mailing list