MCPcopy Create free account
hub / github.com/FoundationVision/ByteTrack / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

4class Timer(object):
5 """A simple timer."""
6 def __init__(self):
7 self.total_time = 0.
8 self.calls = 0
9 self.start_time = 0.
10 self.diff = 0.
11 self.average_time = 0.
12
13 self.duration = 0.
14
15 def tic(self):
16 # 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