Anomaly in time.clock()

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri Mar 21 10:34:17 CET 2008


On 21 mar, 03:13, Godzilla <godzillais... at gmail.com> wrote:

> Just found out that win32api.GetTickCount() returns a tick count in
> milli-second since XP started. Not sure whether that is reliable.
> Anyone uses that for calculating elapsed time?

I use GetTickCount on other languages because it's easy to call. Note
that it returns a value in ms but the *precision* may be not so high.
Anyway I think your problem is in the code, not on time.clock()

--
Gabriel Genellina



More information about the Python-list mailing list