RFC: startup time - again
Andrew Bennetts
andrew at canonical.com
Thu Sep 11 23:52:18 BST 2008
Alexander Belchenko wrote:
[...]
>
> PS: It seems like my timeit utitlity has the same bug as time.time() on Windows:
> it has precision of 16 ms. I need to rewrite it to have more precise results.
> I'll try to find implementation of time.clock() in Python sources. Anybody could
> give me a hint?
<http://svn.python.org/view/python/trunk/Modules/timemodule.c?rev=64745&view=markup>
Look for “QueryPerformanceCounter” in that source, and you'll see the win32
implementation of time.clock for Python.
-Andrew.
More information about the bazaar
mailing list