STINNER Victor <victor.stin...@haypocalc.com> added the comment: > GetSystemTimeAsFileTime() represent durations as multiple of 100ns, > unfortunately its value is only updated every 15ms or so. Precision is not > accuracy...
It is possible to improve the accuracy of this clock using the undocumented NtSetTimerResolution() function: http://undocumented.ntinternals.net/UserMode/Undocumented%20Functions/Time/NtSetTimerResolution.html There are applications using this undocumented function. For example: http://www.lucashale.com/timer-resolution/ See also the timeBeginPeriod() function: http://msdn.microsoft.com/en-us/library/ms713413%28VS.85%29.aspx The user may have a special hardware (and its driver) or a special softwared (ntpd?) with a better accuracy. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13845> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com