MCPcopy Index your code
hub / github.com/FoundationVision/ByteTrack / tic

Method tic

yolox/tracking_utils/timer.py:15–18  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13 self.duration = 0.
14
15 def tic(self):
16 # using time.time instead of time.clock because time time.clock
17 # does not normalize for multithreading
18 self.start_time = time.time()
19
20 def toc(self, average=True):
21 self.diff = time.time() - self.start_time

Callers 3

eval_seqFunction · 0.95
inferenceMethod · 0.80
inferenceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected