Search Tools Links Login

High Resolution Timer

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.

Original Author: Riaan Aspeling

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 71 times


Visual Basic 6


Posted: 9/3/2020 3:45:00 PM
Size: 3,129 bytes

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.