lair.clock.Timer.stop#

Timer.stop()[source]#

Stop the timer, and report the elapsed time

Returns:

float – The elapsed time, in seconds. It is also added to timers under the timer’s name, if it has one.

Raises:

Timer.TimerError – If the timer is not running.

Return type:

float

See also

Timer.start

Start it.