mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-03 17:11:52 +08:00
The APIC timer is calibrated by running the i8254 PIT for a fraction of a second (determined by PIT_CALIBRATE_DIVIDER) and counting how many times the APIC counter has ticked. The calibration can be run multiple times (determined by APIC_TIMER_NUM_CALIBRATIONS) and averaged out. Updates #2898.