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

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] high-res time measurement?
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Fri May 30 2003 - 11:41:22 EEST


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


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri May 30 2003 - 11:46:39 EEST