From owner-freebsd-hackers Tue Mar 4 7: 5:36 2003 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 CA57F37B401 for ; Tue, 4 Mar 2003 07:05:35 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87F7943FBF for ; Tue, 4 Mar 2003 07:05:34 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h24F5KA7019488; Tue, 4 Mar 2003 08:05:21 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 04 Mar 2003 08:01:23 -0700 (MST) Message-Id: <20030304.080123.34121962.imp@bsdimp.com> To: jan@digitaldaemon.com Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: 'ticks' in kernel. From: "M. Warner Losh" In-Reply-To: <3E64301E.5050901@digitaldaemon.com> References: <3E64301E.5050901@digitaldaemon.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 In message: <3E64301E.5050901@digitaldaemon.com> Jan Knepper writes: : Any one have an idea how to pull the value for 'ticks' (kern_clock.c) : from the kernel? : I have looked into sysctl, but could not find "how to". : I am overlooking something? Why? You'll likely want to look at one of: getmicrouptime tsleep msleep getmicrotime Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message