cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
QueryPerformanceFrequency help
QueryPerformanceFrequency help
Dec 7, 2012 at 1:59pm UTC
leoalvesmachado
(4)
Hi everyone,
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
Best regards,
Last edited on
Dec 7, 2012 at 2:02pm UTC
Dec 7, 2012 at 3:07pm UTC
kbw
(9488)
The QueryPerformance... functions don't require an HPET.
Dec 7, 2012 at 7:18pm UTC
leoalvesmachado
(4)
Well, I don't know what it requires, I thought it was something my processor don't have, as mentioned here:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms644905(v=vs.85).aspx
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
kbw
(9488)
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.