How to get high precision timer in python?
prologic at shortcircuit.net.au
Wed Oct 29 08:42:22 CET 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! :)
-- "Problems are solved by method"
More information about the Python-list