➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 vstinner
收信人 akira, belopolsky, lemburg, pitrou, steve.dower, tim.golden, tim.peters, vstinner, zach.ware
日期 2015-07-31.22:01:32
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1438380093.32.0.110813200189.issue19007@psf.upfronthosting.co.za>
In-reply-to
内容
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
历史
日期 用户 动作 参数
2015-07-31 22:01:33vstinner修改recipients: + vstinner, lemburg, tim.peters, belopolsky, pitrou, tim.golden, akira, zach.ware, steve.dower
2015-07-31 22:01:33vstinner修改messageid: <1438380093.32.0.110813200189.issue19007@psf.upfronthosting.co.za>
2015-07-31 22:01:33vstinner链接issue19007 messages
2015-07-31 22:01:33vstinner创建