| Trees | Indices | Help |
|
|---|
|
|
object --+
|
ExecutionTimer
Very simple class to wrap up a common method for measuring the execution time of some code. A timer is started when the object is created. Then call get_time() to find out how long its been running in miliseconds.
By default, this will use time.time() and will therefore
measure wall time between starting the timer and ending. You can specify
clock=True to report CPU clock time used by the process,
using time.clock(). This will make a difference on Unix, but
not on Windows, where time.clock() just returns wall
time.
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:58 2012 | http://epydoc.sourceforge.net |