GetTickCount() Vs QuerryFrequencyCounter()
As far as the GetTickCount discussion goes I asked him the question as if I preferred GetTickCount and he was really adiment that the acuraccy is very important. It sounded like he was saying its best to have a loop how I mentioned I used to do, where you calculate the time the frame took and calculate movement on that. Instead of having every frame Syncronised. In which case the accuracy is esspeacially important :D.
:)
Re: GetTickCount() Vs QuerryFrequencyCounter()
Quote:
Originally posted by Electroman
As far as the GetTickCount discussion goes I asked him the question as if I preferred GetTickCount and he was really adiment that the acuraccy is very important. It sounded like he was saying its best to have a loop how I mentioned I used to do, where you calculate the time the frame took and calculate movement on that. Instead of having every frame Syncronised. In which case the accuracy is esspeacially important :D.
:)
Of course accuracy is importent. But as I said the reason it is not accurat is the same as for every counter in a interupt based OS like Windows. You will have context swtitches....;)....so you can't eliminate them at all. You can set the priority of the prosess higher, but there will still be context switching in your OS...;)