views:

53

answers:

1

Is there a virtual/system clock running independently when a computer is booted?

How can we read that value?

+3  A: 

Use the RDTSC x86 instruction, it reads the clocks since the system-start.

Quonux
can i use that for my intel x86 board..?/
pvaju896
x86 is no board, its the instructionset of the cpu. And yes, its an x86 instruction.
Quonux
+1 I use the processor time counter very frequently to benchmark code. It's much more precise than the system time functions.
Borealid