How to get high precision timer in python?
James Mills
prologic at shortcircuit.net.au
Wed Oct 29 03:42:22 EDT 2008
On Wed, Oct 29, 2008 at 4:22 PM, Tim Roberts <timr at probo.com> wrote:
> I'm not sure you understood what he was saying. time.time() and
> time.clock() can both be used for elapsed timing, but because of a fluke of
> implementation, time.time() is more precise on Linux, and time.clock() is
> more precise on Windows.
That's exactly what I was getting at, only I couldn't
have been bothered explaining why! :)
--JamesMills
--
--
-- "Problems are solved by method"
More information about the Python-list
mailing list