Skip to main content
GameDev.net gamedev.net
🔒 Locked

QueryPerformanceCount rollover

Started by BeanDog Jan 24, 2003 at 4:41 PM 0 replies 400+ views
Original Post
BeanDog
BeanDog
How can I tell when and if a QueryPeformanceCount high-resolution timer will roll over? In other words, I''m synchronizing machines using high-performance counters. I''m worried about what will happen when one or the other rolls over. Do they roll over at midnight like timeGetTime(); ~BenDilts( void );
Dean Harding
Dean Harding
I doubt you''d ever have to worry about it rolling over. The performance counters generally return the number of "ticks" since the computer was started, and with a frequency of (say) 1GHz, the counter wouldn''t roll back to zero for 500 years.

If I had my way, I''d have all of you shot!


codeka.com - Just click it.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.