Dec 7, 2012 at 1:59pm UTC
I have a code that uses QueryPerformanceFrequency. However, the machine I need it to run doesn't have high resolution performance counter. Is there a similar method, even with lower precision, to do what it does?
Thanks for your help
Last edited on
Dec 7, 2012 at 2:02pm UTC
Dec 7, 2012 at 3:07pm UTC
The QueryPerformance... functions don't require an HPET.
Dec 7, 2012 at 7:18pm UTC
Well, I don't know what it requires, I thought it was something my processor don't have, as mentioned here:
The thing is, I always get Error when I call QueryPerformanceFrequency, and I would like to replace it. Is there a way?
Dec 7, 2012 at 9:24pm UTC
Why do you want to replace it? Why do think there's something else that'll act as a high resolution timer?
Topic archived. No new replies allowed.
General C++ Programming
© cplusplus.com, 2000-2015 - All rights reserved -
Spotted an error? contact us