STINNER Victor added the comment:

Good news! I got a new fresh Windows 8.1 VM with Visual Studio 2015. I'm now 
able to work on this issue.

I wrote a patch: time_precise.patch.

Resolution computed in Python by 
https://hg.python.org/peps/file/tip/pep-0418/clock_resolution.py:

GetSystemTimePreciseAsFileTime(): 715 ns
GetSystemTimeAsFileTime(): 14 ms

Obviously, the resolution is better...

GetSystemTimePreciseAsFileTime() uses internally the QueryPerformanceCounter() 
so I chose to use QueryPerformanceFrequency() to fill 
time.get_clock_info('time').resolution, same code than 
time.get_clock_info('perf_counter').resolution

----------
keywords: +patch
Added file: http://bugs.python.org/file40088/time_precise.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19007>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to