README.md
December 4, 2022 ยท View on GitHub
Description
High Speed Timer class with 3 sample programs to illustrate usage!
-
Time execution of your code.
-
Simple Game to test your reaction time.
-
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 :<|
More Info
This little class will be very useful for making games, utilities and debugging your own code. Please give me feedback & VOTE!
| Submitted On | 2002-10-22 09:03:42 |
| By | the Mussel |
| Level | Intermediate |
| User Rating | 4.5 (18 globes from 4 users) |
| Compatibility | VB 4.0 (32-bit), VB 5.0, VB 6.0 |
| Category | VB function enhancement |
| World | Visual Basic |
| Archive File | High_Speed14853810222002.zip |
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