cvs commit: src/usr.bin/vmstat vmstat.c src/usr.bin/w w.c
Poul-Henning Kamp
phk at phk.freebsd.dk
Wed Oct 19 23:44:00 PDT 2005
In message <20051020131450.T99502 at 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 at 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.
More information about the cvs-src
mailing list