Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2016 12:09:38 +0200
From:      Pieter de Goeje <pieter@degoeje.nl>
To:        Maxim Sobolev <sobomax@FreeBSD.org>, FreeBSD Current <freebsd-current@freebsd.org>, freebsd-threads@freebsd.org, freebsd-questions@freebsd.org, freebsd-arch@freebsd.org
Subject:   Re: CLOCK_MONOTONIC / CLOCK_UPTIME is not really monotonic between threads
Message-ID:  <d199e53e-cdbc-ae96-94ed-6c282218c7ad@degoeje.nl>
In-Reply-To: <CAH7qZfsBLM_wqdTXiiyVvevwU%2Bu257dX9JvZFftfntduUaZDMw@mail.gmail.com>
References:  <CAH7qZfsBLM_wqdTXiiyVvevwU%2Bu257dX9JvZFftfntduUaZDMw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d199e53e-cdbc-ae96-94ed-6c282218c7ad>