mirror of
https://github.com/RGBCube/serenity
synced 2026-01-16 10:51:00 +00:00
We were calibrating it to 260 instead of 250 ticks per second (being off by one for the 1/10th second calibration time), resulting in ticks of only ~3.6 ms instead of ~4ms. This gets us closer to ~4ms, but because the APIC isn't nearly as precise as e.g. HPET, it will only be a best effort. Then, use the higher precision reference timer to more accurately calculate how many ticks we actually get each second. Also the frequency calculation was off, causing a "Frequency too slow" error with VMware. Fixes some problems observed in #5539 |
||
|---|---|---|
| .. | ||
| APICTimer.cpp | ||
| APICTimer.h | ||
| HardwareTimer.h | ||
| HPET.cpp | ||
| HPET.h | ||
| HPETComparator.cpp | ||
| HPETComparator.h | ||
| PIT.cpp | ||
| PIT.h | ||
| RTC.cpp | ||
| RTC.h | ||
| TimeManagement.cpp | ||
| TimeManagement.h | ||