Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2005 08:43:57 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Andre Oppermann <andre@FreeBSD.org>, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/vmstat vmstat.c src/usr.bin/w w.c 
Message-ID:  <8229.1129790637@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 20 Oct 2005 14:01:57 %2B1000." <20051020131450.T99502@delplex.bde.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20051020131450.T99502@delplex.bde.org>, Bruce Evans writes:
>On Tue, 18 Oct 2005, Poul-Henning Kamp wrote:

>Using CLOCK_MONOTONIC doesn't work because it it gives the system's idea
>of the time and doesn't try hard to keep in sync with the real time.
>In particular, it doesn't jump when the real time is stepped by
>settimeofday(2) or clock_settime(2).

Uhm, Bruce,

That is the exact reason why we have CLOCK_MONOTONIC: it doesn't jump.

With respect to leapseconds:  Whoever was responsible for POSIX's
decision should be forced to work as quality assurance inspector
in a factory which makes cuu-cuu clocks for the rest of their lives.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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