Stop Timer#
timer.stop()#
Stops the Timer. Should always be called after timer.start()
.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
thread | str | None | Option to stop specific thread. | None |
Example
Basic usage:
Python | |
---|---|
How it appears in the terminal:
With custom thread name and decimals:
Python | |
---|---|
How it appears in the terminal:
% Elapsed time: 0.12345 seconds for thread CUSTOM