4 Feb
2025
4 Feb
'25
7:09 p.m.
Are there guarantees on the precision of mach_continuous_approximate_time? NtQuerySystemTime theoretically guarantees 100 nanoseconds.
It's capable of expressing 100 ns, but the actual precision of NtQuerySystemTime is the system timer, which is documented as being "approximately 10ms" [1] but in practice is more like 1 ms. [1] https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-ke... -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7256#note_93607