home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Planet Source Code Jumbo …e CD Visual Basic 1 to 7
/
7_2009-2012.ISO
/
data
/
zips
/
A_Virtual_2209538162011.psc
/
modHardwareCounter.bas
< prev
Wrap
BASIC Source File
|
2011-08-09
|
631b
|
15 lines
Attribute VB_Name = "modHardwareCounter"
Option Explicit
' ===========================================================================
' System Hardware Counter/Timer Module Jan-2011, Randy Manning.
' ===========================================================================
'
'--About high resolution timing--
'Especially when having a go at Programming Challenges, it can be
'vital to know how long a function or an algorithm takes to run.
'
'C standard library provides the clock() function, which can be used
'to measure the elapsed time. It is a system independent C function
'declared in time.h (compats