Detailed Descriptions

TIMES

Added June 2009

xcall TIMES, opcode, <units>

TIMES.SBR returns high-precision time information.  

Opcode

Units

Description

1

secs

Returns the number of seconds since midnight. This is equivalent to the system variable TIME, except that if the SECS parameter is a floating point variable, then the returned value may return fractional seconds.

2

msecs

Returns the number of milliseconds since midnight. As with opcode 1, if the MSECS is a floating point variable, a floating point (not necessarily integer) value will be returned.

3

usecs

Returns the number of microseconds elapsed since the last opcode 3. Note that this is only practical for timing operations lasting only seconds or perhaps minutes, but not hours or days. The first time this routine is called, the return value will be essentially random garbage.