Light Speed Socket Connections
Erno Kuusela
erno-news at erno.iki.fi
Thu Jul 12 13:59:26 EDT 2001
In article <3b4d6184.1698299906 at wa.news.verio.net>, bokr at accessone.com
(Bengt Richter) writes:
| For accurate timing, time.clock()
| is recommended, I believe:
[...]
the docs recommend it, but on unix time.time() is far better
time.clock() tries to measure "cpu time" instead of "real time"
there, which results in terrible resolution. time.time() maps
to gettimeofday(2).
-- erno
More information about the Python-list
mailing list