cls.utils > Stopwatch

Methods

getTimeStr
New
Read
readms
Reset
start
Stop

Content

Can be used to count used time in your code
Sample:

dim stopwatch as new Stopwatch

for i = 1 to 100
call stopwatch.start( "watchname" )

'some code here you want to messure
'...
call stopwatch.stop( "watchname" )
next

print "Time used: " & stopwatch.readms( "watchname" ) & " ms"