buildtest.utils.timer

Module Contents

Classes

Timer

exception buildtest.utils.timer.TimerError[source]

Bases: Exception

A custom exception used to report errors in use of Timer class

Initialize self. See help(type(self)) for accurate signature.

class buildtest.utils.timer.Timer[source]
start()[source]

Start a new timer

stop()[source]

Stop the timer, and report the elapsed time

duration()[source]