Meaning
Hardware-based reference counters in modern processors provide a continuous clock source that remains uninterrupted during sleep states. Operating systems use the always running timer to establish a fixed relationship between the system execution clock and the main crystal oscillator. The timer operates continuously across all low-power states to prevent time drift on the host platform.
Hardware Reference
Dedicated oscillator networks drive the counter directly from the platform crystal. Because the always running timer bypasses the phase-locked loops that scale with CPU power levels, it remains immune to voltage fluctuations. This independence ensures that time stamps captured by network cards or input devices can be correlated directly with CPU instructions.
Frequency Relationship
Frequency scaling normally alters the time-stamping accuracy of instruction counters. To avoid this problem, the always running timer maintains a fixed and known frequency that is independent of CPU core frequency adjustments. Modern platform architectures distribute this clock signal across multiple buses to achieve a unified hardware time reference for peripherals and processors.
Synchronization Effect
Synchronization across different sub-systems becomes simpler when the underlying reference counter does not stop. Network interface controllers and high-speed serial links align their local packets to this common base, minimizing packet jitter. Without this constant timekeeping anchor, systems would suffer from clock drift during long sleep cycles, which necessitates frequent and expensive resynchronization routines that drain battery life and increase processing overhead in real-time communication systems.