Function Reference


_Timer_Diff

Returns the difference in time from a previous call to _Timer_Init

#include <Timers.au3>
_Timer_Diff ( $iTimeStamp )

Parameters

$iTimeStamp Timestamp returned from a previous call to _Timer_Init().

Return Value

Returns the time difference (in milliseconds) from a previous call to _Timer_Init().

Related

_Timer_Init

Example

#include <Timers.au3>

Example()

Func Example()
    HotKeySet("{ESC}", "_Quit")

    Local $hStarttime = _Timer_Init()
    While 1
        ToolTip(_Timer_Diff($hStarttime))
    WEnd
EndFunc   ;==>Example

Func _Quit()
    Exit
EndFunc   ;==>_Quit