flowchart LR
cpu["mach_absolute_time()
x86_64 under Rosetta: nanoseconds"] --> cal["GetClockCalibration"]
gpu["Metal counter heap
24 MHz ticks everywhere"] --> cal
cal -->|"before: units mixed"| bad["41.7× apart
(1e9 / 24e6) ✘"]
cal -->|"now: CPU value converted to ticks
through the timebase"| good["same unit ✔"]