From owner-freebsd-arch Fri Nov 17 20:30:21 2000 Delivered-To: freebsd-arch@freebsd.org Received: from homer.softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id D383F37B479; Fri, 17 Nov 2000 20:30:18 -0800 (PST) Received: from [127.0.0.1] (helo=softweyr.com ident=Fools trust ident!) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 13wzfH-0000BC-00; Fri, 17 Nov 2000 21:31:47 -0700 Message-ID: <3A160633.CFAE57F8@softweyr.com> Date: Fri, 17 Nov 2000 21:31:47 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: John Baldwin Cc: Jonathan Lemon , arch@FreeBSD.org, mark@grondar.za, Poul-Henning Kamp , Nate Williams Subject: Re: new monotime() call for all architectures. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Baldwin wrote: > > On 17-Nov-00 Jonathan Lemon wrote: > > On Fri, Nov 17, 2000 at 01:08:16PM -0700, Nate Williams wrote: > >> > >> >> 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... > >> > >> How about 'slushycounter()'? > > > > falseticker()? (Okay, probably too NTP specfic) > > Let's just go back to CS 101 days and call it my_function(). Sorry, Mr. Baldwin, you just got a "D" in your assignment. Since the function appears to return an increasing nonsensical counter, "foo" seems somehow appropriate. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message