Date: Tue, 14 Jun 2011 18:08:52 +0200 From: "K. Macy" <kmacy@freebsd.org> To: Luigi Rizzo <rizzo@iet.unipi.it> Cc: current@freebsd.org Subject: Re: fast/syscall-free gettimeofday ? Message-ID: <BANLkTinOq73nGQT88NByuOgH3ByuA=ZLJA@mail.gmail.com> In-Reply-To: <20110614161105.GA17306@onelab2.iet.unipi.it> References: <20110614161105.GA17306@onelab2.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
http://svnweb.freebsd.org/base/head/sys/sys/imgact.h kib added rudimentary support for this in January On Tue, Jun 14, 2011 at 6:11 PM, Luigi Rizzo <rizzo@iet.unipi.it> wrote: > there were discussions at some point on an imprecise but > fast implementations of gettimeofday() that would not require > a system call (perhaps mmapping some memory region which > is opportunistically updated). > > Does anyone remember what happened about that ? > > Otherwise, is there any place in the kernel where i can fetch > a struct timeval which is not off by more than, say 1 tick ? > > cheers > luigi > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinOq73nGQT88NByuOgH3ByuA=ZLJA>