Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Hardware timers

This page describes supported hardware timers, for each architecture.

x86_64 and x86

NameNotes
PITUsed only when the APIC is not present
RTCCurrently used for timekeeping. It shall later be replaced by something else and be used only as a fallback
APICUsed to drive the scheduler
HPETUsed to calibrate the APIC timer

The frequency of the APIC timer is not known, thus we need to calibrate it (determine its frequency). This is done at boot using the HPET.