From owner-freebsd-arch Fri Nov 17 12: 0: 1 2000 Delivered-To: freebsd-arch@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id E918A37B479; Fri, 17 Nov 2000 11:59:57 -0800 (PST) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.11.1) with ESMTP id eAHKMK726174; Fri, 17 Nov 2000 21:22:20 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: "Matthew D. Fuller" Cc: John Baldwin , John Hay , mark@grondar.za, arch@FreeBSD.ORG Subject: Re: new monotime() call for all architectures. In-Reply-To: Your message of "Fri, 17 Nov 2000 13:55:24 CST." <20001117135523.B20231@futuresouth.com> Date: Fri, 17 Nov 2000 21:22:20 +0100 Message-ID: <26172.974492540@critter> From: Poul-Henning Kamp Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20001117135523.B20231@futuresouth.com>, "Matthew D. Fuller" writes: >On Fri, Nov 17, 2000 at 08:53:09PM +0100, a little birdie told me >that Poul-Henning Kamp remarked >> >> >> Ok, I just thought the "mono" in his function name is for monotonic. If >> >> you are staying on one processor it will work, but if the timestamps >> >> have scheduling inbetween the timestamps and you land on a different >> >> processor it won't be monotonic anymore. >> > >> >It's close enough. :) >> >> If it isn't dealing properly with async PCC/TSC counters on SMP machines >> it shouldn't be called "monoanyting". >> >> I guess I totally object to the name now :-) > >OK, how about bogotime(9)? ;) It's not returning units of any known time. "bogocount()" maybe... -- 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