tags:

views:

253

answers:

1

Hi,

how can I detect (using C++) wether my system has a HPET or not?

Thx for your help, Tobias


HPET = High Precision Event Timer

A: 

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

Jens Björnhager