From owner-freebsd-arch@FreeBSD.ORG Sun Jan 25 23:50:34 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A46B16A4CE for ; Sun, 25 Jan 2004 23:50:34 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C49643D2D for ; Sun, 25 Jan 2004 23:50:32 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id i0Q7oTuO062673; Mon, 26 Jan 2004 08:50:30 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Mike Silbersack From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 26 Jan 2004 01:42:44 CST." <20040126013147.A1599@odysseus.silby.com> Date: Mon, 26 Jan 2004 08:50:29 +0100 Message-ID: <62672.1075103429@critter.freebsd.dk> cc: arch@freebsd.org Subject: Re: Updating callout_reset X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 07:50:34 -0000 In message <20040126013147.A1599@odysseus.silby.com>, Mike Silbersack writes: >> Make it a 64bit count of nanoseconds instead that way it can be >> used as a literal constant. >> >> It's OK with me if we want to have a function to contain the "* >> 1000000000LL" factor for us, and maybe even convenience functions >> for milli and microseconds. >> >> -- >> Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > >Ah, that would work better. I guess this getting ideas reviewed process >does help. :) > >Do we have a preexisting name for the "64bit nanoseconds" type? No, and I don't think we need one for this. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.