TIME instruction
System Testing for C
The TIME instruction returns the current value of a timer. You must use a C expression or scripting instruction (IF, PRINT, and so on).
Before using TIME, you must declare the timer with the TIMER instruction.
Example
HEADER "Socket validation", "1.0", "beta"
TIMER globalTime
PROC first
TIMER firstProc
...
PRINT globalTimeValue, TIME (globalTime)
END PROC
SCENARIO second
SCENARIO level2
TIMER level2Scn
...
PRINT level2ScnValue, TIME (level2Scn)
END SCENARIO
END SCENARIO
Related Topics
TIMER Instruction | RESET Instruction | PRINT Instruction | PAUSE Instruction