I'm not sanguine about fixing any of this :-( The Microsoft docs are awful, and the more web searches I do the more I realize that absolutely everyone is confused, just taking their best guesses.
FYI, here are results from your new program on my 32-bit Vista box:
3.4.0b1 (default:9d1fb265b88a, Dec 10 2013, 18:48:53) [MSC v.1600 32 bit (Intel)]
Windows-Vista-6.0.6002-SP2
Running:
...
monotonic namespace(adjustable=False, implementation='GetTickCount64()', monotonic=True, resolution=0.015625)
.........................
total: 25 good: 25 bad: 0
[(0.5, 25)]
time namespace(adjustable=True, implementation='GetSystemTimeAsFileTime()', monotonic=False, resolution=0.015625)
FFFFFFFFFFFFFFFFFFFFFFFFF
total: 25 good: 0 bad: 25
[(0.4999678134918213, 5), (0.4999680519104004, 20)]
clock namespace(adjustable=False, implementation='QueryPerformanceCounter()', monotonic=True, resolution=2.793651148400146e-07)
FFFFFFFFFFFFFFFFFFFF.FFFF
total: 25 good: 1 bad: 24
[(0.49919109830998076, 1), (0.4996682539261279, 1), (0.4997051301212867, 1),
(0.4997221713932909, 1), (0.49972636187001385, 1), (0.499727479330474, 1),
(0.49973139044208104, 1), (0.49973390472811463, 1), (0.4997383745699526, 1),
(0.49974479996759325, 1), (0.4997501079047755, 1), (0.4997501079047756, 1),
(0.49975318092104004, 1), (0.499756533302417, 1), (0.4997598856837939, 1),
(0.49976239996982863, 1), (0.49976714917678144, 1), (0.49977078092327387, 1), (0.49977189838373315, 1), (0.4997724571139628, 1),
(0.499777765051145, 1), (0.49979173330688553, 1), (0.4997973206091828, 1),
(0.4998065396579734, 1), (0.500726488981142, 1)]
perf_counter namespace(adjustable=False, implementation='QueryPerformanceCounter()', monotonic=True, resolution=2.793651148400146e-07)
Same clock as time.clock |