Login
Back to forumSee the full topicGo to last reply

Posted By

indi
on 2006-01-16
13:32:41
 Re: Yape

QueryPerformanceCounter uses the CPU timers. I was involved with Microsoft and the latest DirectX SDK and discussed this issue with them. They knew it was comming up and have placed a white paper about it somewhere.

But basically, the performance counters use the cpu counters. And yes, they "now" recommend that for now you set the CPU affinity if you use these functions.

If you get the window ms timer, then this isn't affected.

If you download the new December SDK you can search for "QueryPerformanceCounter" and it will find "Game Timing and Multicore Processors". Have a read of that, it goes in depth with it.... but comes to the same conclusion.



Back to top


Copyright © Plus/4 World Team, 2001-2024