The device's clock (now_ns: what HOST_TIME reads, what VBLANKs and the
guest's command buffer takes are stamped on) was CLOCK_MONOTONIC, which NTP
disciplines: measured 2026-11-15 against CLOCK_MONOTONIC_RAW it runs +45.1
ppm on homelab-um790-xtx-1, -30.1 ppm on homelab-gem10-1 and +5.7 ppm on
homelab-um870-1 (systemd-timesyncd), and +3.9 ppm on the M3 Max. A guest's
clock counts its TSC (x86-64) or the host's counter (arm64 under HVF), at the
raw rate. The kext maps the device's times by a HOST_TIME reading taken only
at a VBLANK and widens a held reading's bound by 50 ppm of its age, so um790
already ran at 0.9x of that allowance, and a slew correcting a large offset
passes it.
What changes for the guest: HOST_TIME and the VBLANK stamps now run at the
counter's rate (CLOCK_MONOTONIC_RAW) on Linux and macOS, so the kext's offset
holds between readings and the refreshes' and presents' times it maps stay
inside its bound whatever the host's NTP does. Windows keeps the performance
counter, whose frequency is fixed at boot and which nothing disciplines.
What changes for the host: the guest_times diagnostic's transport. On um790
it read p50 128 us in Geekbench 7.1's compute, a sawtooth climbing 45 us a
second to 230 us between readings 5 s apart (VBLANKs off), while a host trace
of the same run (m3-max-33208) put the doorbell's write -> take at 12.6 us
p50; on gem10 it read 0.
Tested by the_clock_is_the_raw_monotonic_one (a read lies between two reads
of CLOCK_MONOTONIC_RAW).