mantidimaging.core.utility.execution_timer module¶
- class mantidimaging.core.utility.execution_timer.ExecutionTimer(msg='Elapsed time')[source]¶
Bases:
object
Context handler used to time the execution of code in it’s context.
- property total_seconds¶
Gets the total number of seconds the timer was running for, returns None if the timer has not been run or is still running.