Re: [GD-Windows] Performance timing
Brought to you by:
vexxed72
From: chaac <ch...@ni...> - 2004-02-11 10:40:24
|
tweety wrote: > Same here; this was what I was talking about. > Besides, rdtsc and queryperformancetimer has some very nasty sincronization > problems with multiple processors (they give the time slightly different > wether the code is run on different processors). > Good old GetTickCount does its job :) Hi, But then again, if I remember correcly, GetTickCount goes in steps of 32ms. If you need more accuracy, you are out of the game here. And if you are just profiling on your development machine or at machine you can reach or otherwise know some details about it. You can quite easily use other measurement methods also. In some cases how fast to get time is not the issue, but accuracy of delta time is. Thanks, Vesa Jääskeläinen |