From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 31 13:41:05 2003 Return-Path: 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 59C0937B401 for ; Mon, 31 Mar 2003 13:41:05 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE27143F93 for ; Mon, 31 Mar 2003 13:41:01 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id BB7EA5308; Mon, 31 Mar 2003 23:40:59 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: evms@bu.edu From: des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Mon, 31 Mar 2003 23:40:59 +0200 In-Reply-To: <200303311629.07310.evms@bu.edu> ("Evan S."'s message of "Mon, 31 Mar 2003 16:29:06 -0500") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: <200303301558.01010.evms@bu.edu> <200303311629.07310.evms@bu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable cc: hackers@freebsd.org Subject: Re: jiffy. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2003 21:41:36 -0000 "Evan S." writes: > > Yes, but it would be easier to answer your question if you told us > > what you need the information for. > Sorry; I'll be more specific. I'm porting a deadline-scheduler from Linux= over=20 > to FreeBSD that determines deadines by using jiffies. For example, proces= s=20 > 1's deadline is when jiffies=3D10 and so on. I just discovered the global= =20 > variable 'ticks' which seems to suit my needs, is this correct? Yes - as far as I know our ticks and Linux's jiffies are exactly the same thing. DES --=20 Dag-Erling Sm=F8rgrav - des@ofug.org