From: Russell Hind (rhind_at_[hidden])
Date: 2003-03-25 04:02:52
Mark Blewett wrote:
> I was surprised at the difference too, so tested here with a Dual 800Mhz
> PIII (Dell Precision 220) running Windows 2000 Advanced Server (SP2).
> Cutting and pasting into a default Win32 console project in VC6 (SP4 I
> think) gives a result of ~0.72 on an idle machine.
FYI: From Microsofts Platform SDK docs on QueryPerformanceCounter
"On a multiprocessor machine, it should not matter which processor is
called. However, you can get different results on different processors
due to bugs in the BIOS or the HAL. To specify processor affinity for a
thread, use the SetThreadAffinityMask function."
Not sure if this effected your results or not.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk