HP 3000 Manuals

TIMER [ MPE/iX Intrinsics Reference Manual ] MPE/iX 5.0 Documentation


MPE/iX Intrinsics Reference Manual

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 

Intrinsics            None

Commands              None

Manuals               Getting System Information Programmer's Guide 
                      (32650-90018)



MPE/iX 5.0 Documentation