The standard
The TimerMod abstracts away the interfaces required for accessing an incrementing timer, at an undefined resolution. All timings are returned in units of microseconds, although the accuracy of the timings may be far less than this. The module provides access to a single-user stopwatch timer, and an incrementing timer.
The stop watch is essentially an interval timer which can be started and stopped arbitrarily.
The
There is only a single stop watch, so this interface is only suitable for a debug and diagnostic purposes. Using this interface within distributed components may interfere with other users of the interface.
The timer counts upwards from 0 at system boot, and can be retrieved with
On all machines the module uses the CMOS clock for time calculations to 1 centisecond resolution. Microsecond resolution is provided by hardware specific timers.
© 1991-2020, DEEJ Technology PLC.