mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00:00
cdbd878a14
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 |