From owner-freebsd-arch Thu Nov 16 23:33:12 2000 Delivered-To: freebsd-arch@freebsd.org Received: from critter.freebsd.dk (hades.cybercity.dk [212.242.42.118]) by hub.freebsd.org (Postfix) with ESMTP id 2C15637B479 for ; Thu, 16 Nov 2000 23:33:10 -0800 (PST) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.11.1) with ESMTP id eAGHOe722616; Thu, 16 Nov 2000 18:24:40 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Mark Murray Cc: arch@FreeBSD.ORG Subject: Re: new monotime() call for all architectures. In-Reply-To: Your message of "Fri, 17 Nov 2000 08:55:04 +0200." <200011170655.eAH6tCJ05746@gratis.grondar.za> Date: Thu, 16 Nov 2000 18:24:40 +0100 Message-ID: <22614.974395480@critter> From: Poul-Henning Kamp Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200011170655.eAH6tCJ05746@gratis.grondar.za>, Mark Murray writes: >Hi all > >I need a fast-as-possible "time" inside the kernel to help >speed up the /dev/random device. I say "time", because although >it needs to be a function of time (preferably accurate and linear), >it has no need whatsoever to be "real time", so a simple counter >is quite OK. Please don't call it *time() when it isn't returning that. monoticks(), monojiffies(), monocycles(), monomumble(), anything but monotime(). -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message