[time-nuts] Win XP and NIST time

David J Taylor david-taylor at blueyonder.co.uk
Tue Mar 26 02:54:11 EDT 2013


From: Anthony G. Atkielski
[]
But how can you verify microsecond accuracy on Windows? Even the OS only has 
10 ms resolution for the system clock.
[]
Anthony
=======================================

Anthony,

I appreciate that your needs don't include accurate PC time, but for the 
record....

1 - with Windows, you can quite easily get better accuracy than 10 
milliseconds.  From at least Windows XP onwards, you can have the system 
clock run at nearly 1 KHz, providing millisecond accuracy, from native 
Windows.

2 - You can interpolate and obtain more accurate timestamps, see:

  http://www.satsignal.eu/ntp/TSCtime.html

3 - Windows-8 provides a much more accurate system call, 
GetSystemTimePreciseAsFileTime, with microsecond precision.  See:

  http://msdn.microsoft.com/en-gb/library/windows/desktop/hh706895%28v=vs.85%29.aspx

The reference NTP port will use the GetSystemTimePreciseAsFileTime function 
on Windows-8 for better performance.

Cheers,
David
-- 
SatSignal Software - Quality software written to your requirements
Web: http://www.satsignal.eu
Email: david-taylor at blueyonder.co.uk 



More information about the time-nuts mailing list