HPlogo 900 Series HP 3000 Computer Systems: MPE/iX Intrinsics Reference Manual > Chapter 4 Command Definitions

TIMER

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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)

Feedback to webmaster