From owner-freebsd-hackers Wed Jul 17 21:19:33 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 9F59E37B40E for ; Wed, 17 Jul 2002 21:19:29 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2819043E67 for ; Wed, 17 Jul 2002 21:19:26 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g6I4Ic1f022789; Wed, 17 Jul 2002 22:18:38 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 17 Jul 2002 22:17:44 -0600 (MDT) Message-Id: <20020717.221744.131412739.imp@bsdimp.com> To: phk@critter.freebsd.dk Cc: spinlock_lists@empirequest.com, dmp@pantherdragon.org, Cy.Schubert@uumail.gov.bc.ca, freebsd-hackers@FreeBSD.ORG Subject: Re: Counting the clock cycles From: "M. Warner Losh" In-Reply-To: <96984.1026939635@critter.freebsd.dk> References: <005f01c22dd1$7be7d180$0300a8c0@fivehundred> <96984.1026939635@critter.freebsd.dk> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: <96984.1026939635@critter.freebsd.dk> Poul-Henning Kamp writes: : 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. Just stupid leap-seconds :-( Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message