Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Aug 2002 18:54:35 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        Bruce Evans <bde@FreeBSD.org>, <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/usr.bin/truss alpha-fbsd.c i386-fbsd.c i386-linux.c main.c setup.c 
Message-ID:  <20020805183752.F16894-100000@gamplex.bde.org>
In-Reply-To: <69177.1028474993@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <sys/time.h> for the declaration of struct timeval.  Do not
> >  depend on namespace pollution in <signal.h>.  (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




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