kernelklok
Kernelklok is a term used in computing to refer to the kernel’s internal timekeeping system. It describes the part of an operating system kernel that tracks time, provides timestamps, and drives timers and scheduling decisions. The kernelklok maintains both the wall clock (system time) and a monotonic clock that never regresses, the latter being important for reliable time intervals and correct sequencing of events.
The kernelklok operates by combining a hardware time source with software timers. A hardware clock, such as
Different kernels implement the kernelklok with varying mechanisms. Linux uses a timekeeping framework built around clocksources,
See also: timekeeping, clocksource, hrtimer, monotonic clock, system time, time synchronization.