Function Reference


TimerInit

Returns a handle that can be passed to TimerDiff() to calculate the difference in milliseconds.

TimerInit ( )

Parameters

None.

Return Value

Returns a handle that can be passed to TimerDiff() to calculate the difference in milliseconds.

Remarks

The return value from TimerInit() should be treated as an opaque handle and should only be used to pass to TimerDiff(). Any other usage of the return value is a potential error.

Related

TimerDiff

Example


Local $begin = TimerInit()
Sleep(3000)
Local $dif = TimerDiff($begin)
MsgBox(0, "Time Difference", $dif)