From owner-cvs-all@FreeBSD.ORG Thu Oct 20 06:44:00 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 B2F5816A41F; Thu, 20 Oct 2005 06:44:00 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F4D343D5A; Thu, 20 Oct 2005 06:44:00 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id C1889BC50; Thu, 20 Oct 2005 06:43:57 +0000 (UTC) To: Bruce Evans From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 20 Oct 2005 14:01:57 +1000." <20051020131450.T99502@delplex.bde.org> Date: Thu, 20 Oct 2005 08:43:57 +0200 Message-ID: <8229.1129790637@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Andre Oppermann , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/vmstat vmstat.c src/usr.bin/w w.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: Thu, 20 Oct 2005 06:44:00 -0000 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.