From owner-freebsd-hackers Thu Jul 18 0:19:39 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 034F737B400 for ; Thu, 18 Jul 2002 00:19:38 -0700 (PDT) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8184143E31 for ; Thu, 18 Jul 2002 00:19:37 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0230.cvx21-bradley.dialup.earthlink.net ([209.179.192.230] helo=mindspring.com) by snipe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17V5ZR-0006Yq-00; Thu, 18 Jul 2002 00:19:29 -0700 Message-ID: <3D366BD1.D3B14CBC@mindspring.com> Date: Thu, 18 Jul 2002 00:18:41 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Andrei Cojocaru Cc: Darren Pilgrim , Cy Schubert - CITS Open Systems Group , freebsd-hackers@FreeBSD.ORG Subject: Re: Counting the clock cycles References: <200207171943.g6HJhf4o051526@cwsys.cwsent.com> <004801c22dce$859bfa60$0300a8c0@fivehundred> <3D35D2D0.F480C81D@pantherdragon.org> <005f01c22dd1$7be7d180$0300a8c0@fivehundred> 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 Andrei Cojocaru wrote: > 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. Looking for another clock already living there somewhere in the same PC hardware isn't going to fix it. You need to disable CMOS daylight savings time swithing in the BIOS, so that it doesn't jump the reported clock value on you. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message