ladybird/Kernel/Time
Nico Weber e8131f503d Kernel: Let TimeManagement keep epoch time as timespec
Previously, it was kept as just a time_t and the sub-second
offset was inferred from the monotonic clock. This means that
sub-second time adjustments were ignored.

Now that `ntpquery -s` can pass in a time with sub-second
precision, it makes sense to keep time at that granularity
in the kernel.

After this, `ntpquery -s` immediately followed by `ntpquery` shows
an offset of 0.02s (that is, on the order of network roundtrip time)
instead of up to 0.75s previously.
2020-09-07 11:22:48 +02:00
..
HardwareTimer.cpp Kernel: Fix dumb logic typo in HardwareTimer::handle_irq() 2020-04-16 18:53:38 +02:00
HardwareTimer.h Kernel: Rename HardwareTimer::change_function() => set_callback() 2020-04-16 18:51:39 +02:00
HPET.cpp Kernel: Use map_typed() in HPET code and add a register access helper 2020-06-21 00:58:55 +02:00
HPET.h Kernel: Use map_typed() in HPET code and add a register access helper 2020-06-21 00:58:55 +02:00
HPETComparator.cpp Kernel: Remove "stale callback" concept from time management 2020-04-16 18:50:22 +02:00
HPETComparator.h Kernel: Remove "stale callback" concept from time management 2020-04-16 18:50:22 +02:00
PIT.cpp Kernel: Absorb LibBareMetal back into the kernel 2020-05-16 12:00:04 +02:00
PIT.h Kernel: Introduce the new Time management subsystem 2020-03-19 15:48:00 +01:00
RTC.cpp Kernel: Absorb LibBareMetal back into the kernel 2020-05-16 12:00:04 +02:00
RTC.h Kernel: Introduce the new Time management subsystem 2020-03-19 15:48:00 +01:00
TimeManagement.cpp Kernel: Let TimeManagement keep epoch time as timespec 2020-09-07 11:22:48 +02:00
TimeManagement.h Kernel: Let TimeManagement keep epoch time as timespec 2020-09-07 11:22:48 +02:00