[Twisted-Python] Re: Twisted-Python Digest, Vol 21, Issue 39

Jean-Paul Calderone exarkun at divmod.com
Sat Dec 31 14:52:59 EST 2005


On Sat, 31 Dec 2005 14:23:55 -0500, Michael Schneider <michaelschneider at fuse.net> wrote:
>On Windows, you might use time.clock() it is more precise (keep with 
>time.time on UNIX

Unfortunately, it wraps around after ~40 days, making it unsuitable for use tracking long periods of time.  It is probably possible to build a usable timer on top of this using a wrap-around counter, but afaik no one has yet attempted this.

Jean-Paul




More information about the Twisted-Python mailing list