http://bugs.winehq.com/show_bug.cgi?id=1667
------- Additional Comments From mike@theoretic.com 2003-30-11 14:36 ------- What is the value of cpuHz before the division on your system then? If you look at the code you can see this comment:
#if defined(__i386__) && defined(__GNUC__) if (IsProcessorFeaturePresent( PF_RDTSC_INSTRUCTION_AVAILABLE )) { /* The way Windows calculates this value is unclear, however simply using the CPU frequency gives a value out by approximately a thousand. That can cause some applications to crash, so we divide here to make our number more similar to the one Windows gives */ frequency->QuadPart = cpuHz / 1000; return TRUE; } #endif
As for simply switching it off, well, that's a possibility but some apps use this value to calibrate themselves (like games) so I'm not sure we want to rip it out just yet.