Sub-second times
Dan Schmidt
dfan at harmonixmusic.com
Thu Aug 24 09:17:54 EDT 2000
jurgen.defurne at philips.com writes:
| Is there a way to obtain sub-second times in Python (at most to the
| milli-second) ?
Whenever I have to do precise timing in a scripting language, I look
at how the profiler does it, and it worked this time too. Look at
how Profile.__init__ in profile.py: sets self.timer; it does some
special-casing based on OS-specific things.
--
Dan Schmidt | http://www.dfan.org
Honest Bob CD now available! | http://www.dfan.org/honestbob/cd.html
More information about the Python-list
mailing list