RFC: startup time - again

Alexander Belchenko bialix at ukr.net
Fri Sep 12 09:11:38 BST 2008


Andrew Bennetts пишет:
> 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.

Thanks.




More information about the bazaar mailing list