[issue10278] add time.wallclock() method

Kristján Valur Jónsson report at bugs.python.org
Tue Aug 30 13:49:04 CEST 2011


Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:

The problem with QueryPerformanceCounter is that it drifts.  It has high resolution, but can drift far out of sync with GetTickCount64.
The best solutions on windows combine the two, but that's tricky to impolement.

QPC will wrap, but only after a long time.  its 64 bits, and with a frequency of 1GHz, that takes some 600 years.
Of course, with 10GHz we're down to 60 years, but by that time, we will have python 2.8

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10278>
_______________________________________


More information about the Python-bugs-list mailing list