System Clock Appears to Lose About One Second per Hour

Last reviewed: May 12, 1997
Article ID: Q106434
The information in this article applies to:
  • Microsoft Windows NT operating system version 3.1
  • Microsoft Windows NT Advanced Server version 3.1

SYMPTOMS

If the time is continuously read on an x86-based Windows NT machine, the system appears to lose a second each hour.

CAUSE

The Real Time Clock (RTC) in x86-based computers has a resolution of one second. Therefore, the Hardware Abstraction Layer (HAL) on x86 platforms uses an interval timer to increase the resolution of the system clock into the millisecond range. Windows NT's calculation of real time based on this interval timer is inaccurate enough that it could get out of sync by over a second every hour.

RESOLUTION

The calculations to determine the correct time for the system clock based on the interval timer has been improved so that it remains much closer in sync with the RTC. The system clock is still resynchronized every hour but the size of the adjustment is negligible (at most, a few milliseconds).

This was fixed within HAL.DLL for x86 based systems only. This is not a concern on MIPS or Alpha platforms.


Additional query words: prodnt
Keywords : kbbug3.10 kbtool ntutil
Version : 3.1
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 12, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.