MCPcopy Create free account
hub / github.com/MotrixLab/ADHMR / __init__

Method __init__

HMR-Scorer/common/timer.py:12–18  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

10class Timer(object):
11 """A simple timer."""
12 def __init__(self):
13 self.total_time = 0.
14 self.calls = 0
15 self.start_time = 0.
16 self.diff = 0.
17 self.average_time = 0.
18 self.warm_up = 0
19
20 def tic(self):
21 # 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