MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 10 625
Command Definitions (QUIT-ZSIZE)
TIMER
TIMER
NM and CM callable.
Returns system timer information.
Syntax
I32
count
:=TIMER;
Functional Return
count
32-bit signed integer (assigned functional return)
The actual millisecond count since the midnight preceding the last system
coldload.
Operation Notes
The resolution of the system timer is one millisecond; readings taken within a
one-millisecond period can be identical. The system timer is reset to zero every 24-days at
12:00 midnight. If using the TIMER intrinsic to compute elapsed time, correct for this
condition by:
Subtracting the current count from the previous count.
If the result is negative, add 2,073,600,000 (number of milliseconds in 24 days).
Related Information
None