rdtsc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm using rdtsc to take some time stamps. rdtsc uses two long values to store a 64 bit value.

How can I convert this two long to a long long? for example:

rdtsc(t1l,t1h);

...
...

rdtsc(t2l,t2h);

And now, I want to substract the values to get the interval of time in clock ticks.

Thanks in advance

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux