Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2002 20:22:53 -0600 (CST)
From:      Ryan Thompson <ryan@sasknow.com>
To:        Brian Astill <bastill@sa.apana.org.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: microuptime
Message-ID:  <20020627201854.I18697-100000@ren.sasknow.com>
In-Reply-To: <200206280138.g5S1coL48161@tierzero.apana.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian Astill wrote to Greg 'groggy' Lehey:

> > I set it to the following and it stopped :
> >
> > %sysctl kern.timecounter
> > kern.timecounter.method: 1
> > kern.timecounter.hardware: TSC
>
> However, I cannot find out how to set those desirable parameters.
> How is this done, please?

They're sysctl variables, tunable in userland via the sysctl(8)
utility.

man 8 sysctl... but basically, as root, executing the following:

# sysctl kern.timecounter.method=1 kern.timecounter.hardware=TSC

should change the settings as you have quoted, above, on a 4.x system.
(the 3.x syntax differed slightly).

- Ryan

-- 
  Ryan Thompson <ryan@sasknow.com>

  SaskNow Technologies - http://www.sasknow.com
  901 1st Avenue North - Saskatoon, SK - S7K 1Y4

        Tel: 306-664-3600   Fax: 306-664-3630   Saskatoon
  Toll-Free: 877-727-5669     (877-SASKNOW)     North America


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020627201854.I18697-100000>