From owner-freebsd-hackers Tue Mar 4 10: 5:45 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 B61CE37B401 for ; Tue, 4 Mar 2003 10:05:44 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37F764402D for ; Tue, 4 Mar 2003 10:05:10 -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 h24I4vA7020970; Tue, 4 Mar 2003 11:04:57 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 04 Mar 2003 10:44:03 -0700 (MST) Message-Id: <20030304.104403.34570707.imp@bsdimp.com> To: jan@digitaldaemon.com Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: 'ticks' in kernel. From: "M. Warner Losh" In-Reply-To: <3E64E941.3030205@digitaldaemon.com> References: <3E64301E.5050901@digitaldaemon.com> <20030304.080123.34121962.imp@bsdimp.com> <3E64E941.3030205@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: <3E64E941.3030205@digitaldaemon.com> Jan Knepper writes: : No, I have looked that those, they do not work for me as I need to be : able to compate the value if 'ticks' with a value initialized from 'ticks'. : The problems is that 'ticks' is not 'exact'. So I cannot calculate it : with the different between the boot time and the current time * a : constant factor. why doesn't tsleep work for that? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message