how can I detect (using C++) wether my system has a HPET or not?
Thx for your help,
Tobias
HPET = High Precision Event Timer
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If your system has a HPET, then it should be listed in the device manager and therefore somewhere in the registry. I would see if there is a key in there somewhere that denotes a HPET. I’m not in win32 right now, but msdn mentions HKEY_LOCAL_MACHINE\Drivers\Active.
http://msdn.microsoft.com/en-us/library/aa447470.aspx