Timer#

class emg3d.utils.Timer[source]#

Bases: object

Class for timing (now; runtime).

Attributes Summary

elapsed

Return elapsed time in seconds.

now

Return current time as hh:mm:ss string.

runtime

Return elapsed time as hh:mm:ss string.

t0

Return time zero of this class instance.

Attributes Documentation

elapsed#

Return elapsed time in seconds.

now#

Return current time as hh:mm:ss string.

runtime#

Return elapsed time as hh:mm:ss string.

t0#

Return time zero of this class instance.