From owner-freebsd-hackers Wed Jul 17 14: 2:54 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 177FF37B400 for ; Wed, 17 Jul 2002 14:02:53 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5065743E64 for ; Wed, 17 Jul 2002 14:02:52 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g6HL0ZXB096985; Wed, 17 Jul 2002 23:00:36 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "Andrei Cojocaru" Cc: "Darren Pilgrim" , "Cy Schubert - CITS Open Systems Group" , freebsd-hackers@FreeBSD.ORG Subject: Re: Counting the clock cycles In-Reply-To: Your message of "Wed, 17 Jul 2002 14:35:26 MDT." <005f01c22dd1$7be7d180$0300a8c0@fivehundred> Date: Wed, 17 Jul 2002 23:00:35 +0200 Message-ID: <96984.1026939635@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <005f01c22dd1$7be7d180$0300a8c0@fivehundred>, "Andrei Cojocaru" writ es: >I am already synchronizing using xntp, that's not the problem. The >problem is by some weird way the clock got out of sync by about 1hr >during daylight switch on one of the computers I run, and I need a >reliable way to get passage of time (I don't need date/time, just >the passage of it) for different internal operations in the program. Use UTC time, it has no daylight savings problems. -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message