Precise timings ?

Fredrik Lundh fredrik at pythonware.com
Tue Aug 30 17:43:07 EDT 2005


Madhusudan Singh wrote:

> time.time() seems to report (using %e to format the o/p) a fixed number of
> the order ~1e9.

you're confused.  time.time() reports the wall time in fractional seconds
since the epoch (usually jan 1, 1970).  if you take the difference between
two calls, you'll find that the resolution on a linux box is well over 100 
kHz.

</F> 






More information about the Python-list mailing list