CLOCK_MONOTONIC / CLOCK_UPTIME is not really monotonic between threads

Pieter de Goeje pieter at degoeje.nl
Fri Jun 3 10:09:48 UTC 2016


Op 2016-06-03 om 06:16 schreef Maxim Sobolev:
> 4. If the answer for (3) is yes, then what is the method to disable using
> TSC and use slower but possibly more reliable method?

sysctl kern.timecounter.choice lists the available timers.
sysctl kern.timecounter.hardware selects the timer. Changes take effect 
immediately.

- Pieter



More information about the freebsd-questions mailing list