Hey PGD-friends,
I have a piece of code here which I want to test. I'm not sure how though.
I have the impression that QueryPerformanceCounter() is a bit unstable (Because of the CPU stepping times that change). GetTickCount() on the other hand is not accurate enough.
I have an important piece of code for my game, which is going to be called multiple times a frame. So the execution time must be well under 1ms. Also, I want to make some alterations to the algorithm and see if it improves it's performance.
Any ideas how to do some reliable tests?
Thanks
Bookmarks