sarkas.utilities.timing.SarkasTimer#

class sarkas.utilities.timing.SarkasTimer[source]#

Timer class modified from https://realpython.com/python-timer/

Methods

SarkasTimer.__init__()

SarkasTimer.current()

Grab the current time in nanoseconds.

SarkasTimer.start()

Start a new timer

SarkasTimer.stop()

Stop the timer, and report the elapsed time.

SarkasTimer.time_division(tme)

Divide time into hours, min, sec, msec, microsec (usec), and nanosec.