Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2002 19:33:22 +0100
From:      Thierry Herbelot <thierry@herbelot.com>
To:        Mike Silbersack <silby@silby.com>, Stijn Hoop <stijn@win.tue.nl>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: [nephtes@openface.ca: [Xmame] Use of usleep() with -sleepidle]
Message-ID:  <200212021933.22950.thierry@herbelot.com>
In-Reply-To: <20021202114019.R31106-100000@patrocles.silby.com>
References:  <20021202151816.GJ83264@pcwin002.win.tue.nl> <20021202114019.R31106-100000@patrocles.silby.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Monday 02 December 2002 18:49, Mike Silbersack a écrit :
[SNIP]
>
> The time select() takes should be directly related to your system's hz
> setting.  The default for FreeBSD is 100, which means that the interrupt
> timer will fire every 10ms.  If you want to play with that, edit
> /etc/sysctl.conf and set kern.hz="1000", which should give you 1 ms
> accuracy.
>

the line :
kern.hz="1000"
must be placed in /boot/loader.conf

	TfH

[SNIP]

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




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