
31 Oct
2006
31 Oct
'06
4:25 p.m.
On 10/31/06, Philippe Vaucher <philippe.vaucher@gmail.com> wrote:
Do you also plan to tackle the problem with QueryPerformanceCounter() on multi-core systems? QPC reports problematic/mismatching values on certain multi-core CPUs (e.g. Athlon X2).
If I get it right there's nothing much I can do about it ? I don't think multi-core CPU defines some macro which I could test to indicate the user he'd not use the QueryPerformanceCounter timer....
You could use SetThreadAffinity to force QPC to only run on one core, although I'm not sure what other ramifications to the timer's design and use this might have. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/... --Michael Fawcett