From owner-cvs-all Mon Aug 5 1:49:50 2002 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 AFA6A37B400; Mon, 5 Aug 2002 01:49:43 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C4B343E6A; Mon, 5 Aug 2002 01:49:42 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id SAA01742; Mon, 5 Aug 2002 18:49:31 +1000 Date: Mon, 5 Aug 2002 18:54:35 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Poul-Henning Kamp Cc: Bruce Evans , , Subject: Re: cvs commit: src/usr.bin/truss alpha-fbsd.c i386-fbsd.c i386-linux.c main.c setup.c In-Reply-To: <69177.1028474993@critter.freebsd.dk> Message-ID: <20020805183752.F16894-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 4 Aug 2002, Poul-Henning Kamp wrote: > In message <200208041057.g74AvfKU000355@freefall.freebsd.org>, Bruce Evans writ > es: > >bde 2002/08/04 03:57:41 PDT > > > > Modified files: > > usr.bin/truss alpha-fbsd.c i386-fbsd.c i386-linux.c > > main.c setup.c > > Log: > > Include for the declaration of struct timeval. Do not > > depend on namespace pollution in . (truss shouldn't be > > using timevals anyway, since it was implemented long after timevals > > were obsoleted by timespecs.) > > (... but on the other hand probably implemented before we really had > timespec support in the kernel). 3 months before to be precise (Dec 1997 for truss rev.1.1 vs Mar 1998 for clock_gettime(2), but that is no excuse since the timeval use (gettimeofday(2) calls) was implemented yesterday. Several syscalls now take less than 1 microsecond. ktrace needs higher resolution timestamps even more since the timestamps are made without leaving the kernel and there may be several per syscall. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message