PDA

View Full Version : very good article on high precision timers



JernejL
27-11-2006, 08:33 AM
When i implemented pause in my game, i noticed that when i pause and unpause the timer imprecision starts doing weird things (such as explosions rewinding back in time), and i suspect the timer imprecision also causes my frame rate limiter to be imprecise and fluctate too much, today i came across this very good article about the timer precision importancy, it also explains possible problems you can have with most often used method - queryperformancecounter on dual core processors or notebooks with varying cpu clock.

http://www.devsource.com/article2/0,1895,2063854,00.asp

VilleK
27-11-2006, 12:49 PM
Thanks for the link. Useful info!