MCPcopy Create free account
hub / github.com/Pixel-Talk/EHM-Tracker / __init__

Method __init__

src/utils/timer.py:10–14  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8 """A simple timer."""
9
10 def __init__(self):
11 self.total_time = 0.
12 self.calls = 0
13 self.start_time = 0.
14 self.diff = 0.
15
16 def tic(self):
17 # using time.time instead of time.clock because time time.clock

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected