[Python-Dev] time.clock() on windows (original) (raw)

Robert Collins robertc at robertcollins.net
Thu Oct 22 06:45:34 CEST 2009


On Thu, 2009-10-22 at 15:21 +1100, Mark Hammond wrote:

I'd be very surprised if any applications rely on the fact that each process starts counting at zero, so if someone can come up with a high-res counter which avoids that artifact I'd expect it could be used.

Could you offset it by the system time on the first call?

-Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://mail.python.org/pipermail/python-dev/attachments/20091022/619f2ac4/attachment.pgp>



More information about the Python-Dev mailing list