I'm trying to write some code that will keep track of how many ticks my proc has gone through from a given point in time. This is the most useful documentation I've been able to find on the RDTSC op:
After reading this, I still have some questions
1) if my proc is waiting for memory or HDD access, the timestamp counter will still be incrimented, correct? I would expect it to be
2) That above url says that RDTSC is not serialized. Because of this, would RDMSR 10h be a better choice?
After reading this, I still have some questions
1) if my proc is waiting for memory or HDD access, the timestamp counter will still be incrimented, correct? I would expect it to be
2) That above url says that RDTSC is not serialized. Because of this, would RDMSR 10h be a better choice?