Last time I looked at the source code, it will use Linux CLOCK_BOOTTIME, which should be your highest quality monotonic clock source.
I woundnt be concerned about the time required for the syscall.
There was a recent issue on windows that it wasn’t using the highest resolution clock available, but I believe that was resolved.
You must query the OS to get the time. The OS is your mediator to the outside world (IO).
If you need true realtime processing, I would avoid windows and use Linux with PREEMPT_RT patch or figure out how to get the most recent kernel (I haven’t figured that out yet).
My experience from benchmarking on Linux is that you end up with an uncertainty in the 10-100 ns range; this is highly context-dependent, i.e. what other stuff the OS is doing, and what is prioritized.