QueryPerformanceFrequency help

leoalvesmachado (2)
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
kbw (5371)
The QueryPerformance... functions don't require an HPET.
leoalvesmachado (2)
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?
kbw (5371)
Why do you want to replace it? Why do think there's something else that'll act as a high resolution timer?
Registered users can post here. Sign in or register to post.