e15190.utilities.timer¶
Functions
|
Pause the timer. |
|
Reset the timer. |
|
Start the timer. |
|
Stop the timer. |
Classes
|
- e15190.utilities.timer.start()¶
Start the timer.
- e15190.utilities.timer.pause(show=False)¶
Pause the timer.
- Parameters
show – bool, optional Whether to print the elapsed time accummulated at the time of pausing.
- e15190.utilities.timer.stop(prefix=None, suffix=None, show=True)¶
Stop the timer.
- Parameters
prefix – str, optional Prefix to print before the elapsed time.
suffix – str, optional Suffix to print after the elapsed time.
show – bool, optional Whether to print the elapsed time.
- Returns
Elapsed time in seconds.
- Return type
float
- e15190.utilities.timer.reset()¶
Reset the timer.