Time Classes

Note

These classes handle time

Stop Watch

class CommonStopWatch

Bases: object

A class used to see how long things take.

interval()

Retrieve a time stamp for how long the watch has been running for without ending it.

Returns:The number of seconds that occurred since the stop watch was started.
Return type:float
start()

Start the stop watch.

stop()

Stop the stop watch.

Warning

This will also reset the start time of the stop watch. It will also stop the stop watch.

Returns:The number of seconds that occurred since starting the stop watch.
Return type:float