Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2005 00:08:16 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        bde@zeta.org.au
Cc:        des@des.no, src-committers@FreeBSD.org, rwatson@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c
Message-ID:  <20051129.000816.28766059.imp@bsdimp.com>
In-Reply-To: <20051129145321.E33975@delplex.bde.org>
References:  <20051128002937.T17822@epsplex.bde.org> <86d5kkbygy.fsf@xps.des.no> <20051129145321.E33975@delplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20051129145321.E33975@delplex.bde.org>
            Bruce Evans <bde@zeta.org.au> writes:
: Even with this, applications would still need to know when select() was
: called to recover the time when it returned.  Adding deltas from select()
: to a previous timestamp wouldn't work very well the relative error in
: the deltas is large for small deltas (unless you pessimize select() to
: get a precise timestamp).

Not to mention the fact that scheduling delays can add somewhat to the
errors here...  although on modern, fast systems this is likely less
of a concern.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051129.000816.28766059.imp>