From owner-cvs-all@FreeBSD.ORG Tue Nov 29 07:08:05 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE18F16A41F; Tue, 29 Nov 2005 07:08:05 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id E526843D7D; Tue, 29 Nov 2005 07:07:58 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id jAT77liq018454; Tue, 29 Nov 2005 00:07:48 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 29 Nov 2005 00:08:16 -0700 (MST) Message-Id: <20051129.000816.28766059.imp@bsdimp.com> To: bde@zeta.org.au From: "M. Warner Losh" In-Reply-To: <20051129145321.E33975@delplex.bde.org> References: <20051128002937.T17822@epsplex.bde.org> <86d5kkbygy.fsf@xps.des.no> <20051129145321.E33975@delplex.bde.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 29 Nov 2005 00:07:49 -0700 (MST) 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 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2005 07:08:05 -0000 In message: <20051129145321.E33975@delplex.bde.org> Bruce Evans 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