
High Speed Timer class with 3 sample programs to illustrate usage!
1) Time execution of your code.
2) Simple Game to test your reaction time.
3) Fully functional high-precision stopwatch.
The High Speed Timer class is fully independent and ready to be
added to other proggies. Also shows usage of LARGE INTEGER (8 bytes),
demonstrates a few API calls, all wrapped up in a neat little package.
Please vote if you think it's worth it :<|
Assumes
This little class will be very useful for making games, utilities and debugging your own code. Please give me feedback & VOTE!
API Declarations'Function to get current clock count
Private Declare Function QueryPerformanceCounter Lib "kernel32" ( _
lpPerformanceCount As Currency) As Long
'Function to see how many clock ticks per second on this computer
Private Declare Function QueryPerformanceFrequency Lib "kernel32" ( _
lpPerformanceCount As Currency) As Long