Computer Access Technology Corporation
IB
Tracer
Verification Script Engine Manual, version 1.0
Page 20 of 35
timer_id
– a unique timer identifier.
Example:
KillTimer(); # - stop timing for timer with id = 0;
KillTimer(23); # - stop timing for timer with id = 23;
9.4
GetTimerTime()
Retrieve timing interval from the specific timer
Format
:
GetTimerTime (
timer_id
= 0)
Parameters:
timer_id
– a unique timer identifier.
Return values:
Returns VSE time object from timer with id = timer_id.
Example:
GetTimerTime (); # - Retrieve timing interval
for timer with id = 0;
GetTimerTime (23); # - Retrieve timing interval
for timer with id = 23;
Remark :
This function, when called, doesn’t reset timer.
10. Time construction functions
This group of functions is used to construct VSE time objects.
10.1 Time()
Constructs verification script time object.
Format
:
Time(
nanoseconds
)
Time(
seconds, nanoseconds
)
Return values:
First function returns
[0, nanoseconds]
, second one returns
[seconds, nanoseconds]