ANN: a new utility for Python developers

Thomas NoSpam at NoSpam.com
Sat Aug 18 18:42:11 EDT 2001


"Tim Peters" <tim.one at home.com> wrote in message
news:mailman.998110527.15304.python-list at python.org...
> [Thomas]
> > ...
> > - For timing, the clock() call in the windows CRT yields rather
> >   innacurate data, so I had to use a Win32 call.
>
> Note that *Python's* time.clock() on Windows uses the Win32
> QueryPerformanceCounter() call, which has better than microsecond
resolution
> on virtually all Windows boxes.

Yup, that's the call I'm using.  But initially I tried using the CRT clock()
function (I seem to remember that this is the function used by the Python
profiler).

Tom.





More information about the Python-list mailing list