High Resolution Timer Macro
Macro: Timer
Timer is a read-only variable that uses the Windows
high-performance timer functions to return the time since
the last Windows start. The return value is in seconds,
with typical resolution of 1 microsecond or better depending
on the version of Windows and the available hardware.
Example: To time the execution of the WaitSecs
command (or any other macro, loop, or string of commands),
use:
T=Timer
WaitSecs=1.000
T=Timer - T
Msg=T(0.9) + " seconds"
See also UTC Time Macro, Timer Macros,
Macro Overview
|