From owner-freebsd-hackers Mon Dec 2 10:33:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEDFA37B401 for ; Mon, 2 Dec 2002 10:33:33 -0800 (PST) Received: from herbelot.dyndns.org (herbelot.net1.nerim.net [62.212.117.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A86E43EA9 for ; Mon, 2 Dec 2002 10:33:32 -0800 (PST) (envelope-from thierry@herbelot.com) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.12.6/8.12.6) with ESMTP id gB2IYn0f007256; Mon, 2 Dec 2002 19:34:49 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" From: Thierry Herbelot To: Mike Silbersack , Stijn Hoop Subject: Re: [nephtes@openface.ca: [Xmame] Use of usleep() with -sleepidle] Date: Mon, 2 Dec 2002 19:33:22 +0100 User-Agent: KMail/1.4.3 Cc: freebsd-hackers@FreeBSD.ORG References: <20021202151816.GJ83264@pcwin002.win.tue.nl> <20021202114019.R31106-100000@patrocles.silby.com> In-Reply-To: <20021202114019.R31106-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200212021933.22950.thierry@herbelot.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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