Date: Fri, 17 Nov 2000 12:18:27 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Jonathan Lemon <jlemon@flugsvamp.com> Cc: arch@FreeBSD.org, mark@grondar.za, Poul-Henning Kamp <phk@critter.freebsd.dk>, Nate Williams <nate@yogotech.com> Subject: Re: new monotime() call for all architectures. Message-ID: <XFMail.001117121827.jhb@FreeBSD.org> In-Reply-To: <20001117141037.E19895@prism.flugsvamp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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(). -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.001117121827.jhb>