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

Method tic

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

Source from the content-addressed store, hash-verified

18 self.warm_up = 0
19
20 def tic(self):
21 # using time.time instead of time.clock because time time.clock
22 # does not normalize for multithreading
23 self.start_time = time.time()
24
25 def toc(self, average=True):
26 self.diff = time.time() - self.start_time

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected