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
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