VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



High Resolution Timer

by Riaan Aspeling (14 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

Did you ever what to time something up to thousands of a second. This is not possible by using time() and timers at all. This little class (only uses 3 variables) can time up to a thousands of a second with your CPU clock frequency. There's a little example program also shows the difference between using:
{if VarX <> "" then} AND {if Len(VarX) <> 0 then}. The last one will execute between 20-25% faster. The timer can show this in fractions of a second.

Rate High Resolution Timer

Download High Resolution Timer

Download High Resolution Timer (3 KB)

High Resolution Timer Comments

No comments have been posted about High Resolution Timer. Why not be the first to post a comment about High Resolution Timer.

Post your comment

Subject:
Message:
0/1000 characters