rdtsc is not reset on CPU reset => Fixed in SVN
|Reported by:||Axel Dörfler||Owned by:|
|Keywords:||cpu rdtsc reset||Cc:|
|Guest type:||other||Host type:||Windows|
According to the official Intel documentation, this counter should be reset when the CPU is reset (chapter 17.15 in Intel® 64 and IA-32 Architectures Software Developer’s Manual Volume 3 from September 2016):
"The time-stamp counter (as implemented in the P6 family, Pentium, Pentium M, Pentium 4, Intel Xeon, Intel Core Solo and Intel Core Duo processors and later processors) is a 64-bit counter that is set to 0 following a RESET of the processor."
You can easily reproduce this using Haiku which uses rdtsc to compute the uptime of the system.