A V Series system contains several system timers and processor timers. An entire system contains only one of each type of system timer. In contrast, each processor contains its own set of processor timers.
The System Timers are:
Each processor contains the following additional processor timers:
The Time of Day timer is a twenty digit counter that counts up at a one microsecond rate. See Compatibility Notes A.36.
The Time of Day Timer has the following format:
|Year||00 - 03|
|Month||04 - 05|
|Day||06 - 07|
|Microseconds||09 - 19|
At midnight, sofwtare will initialize the day, month, year and microseconds via the STT instruction.
The Alarm Timer is a system timer which will cause an Alarm Timer interrupt to be reported to the system whenever the Microseconds field of the Time of Day timer is equal to or greater than the Microseconds field of the Alarm Timer. See Compatibility Notes A.59 for a description of when the various systems detect the Alarm Timer interrupt condition.
Each processor accumulates the time it spends in KERNEL mode, INTERRUPTING mode, and IDLE mode in the KERNEL mode timer, INTERRUPTING mode timer and the IDLE mode timer respectively.
These processor timers are stored in memory and cleared via the RDT instruction.
The Task Timer is a counter that is used to interrupt a task when its time splice has ended. The maximum timer value is about 900 seconds. The most significant digits of the timer controls the timer interrupt. The task timer will not be decremented when the processor is in INTERRUPTING mode.
If the Timer Interrupt bit is set in the Interrupt Mask, an Interrupt Procedure occurs that stores the adress of the next instruction to be executed whever the most significant digit of the timer is equal to zero.
If an Interrupt has not occurred before the entire task timer reaches zero, a task timer fault will occur, which will cause a Hardware Call that will store the address of the next instruction to be executed. See Compatibility Notes A.45.
The resolution of the Task Timer is machine dependent. See Compatibility Notes A.36.