magrittetorch.tools.timer

Contains a simple timer object

class magrittetorch.tools.timer.Timer(name: str)

A simple timer class.

print() str

Print the elapsed time.

start() None

Start the timer.

stop() None

Stop the timer.