MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / __init__

Method __init__

SwissArmyTransformer/sat/training/utils.py:73–77  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

71 """Timer."""
72
73 def __init__(self, name):
74 self.name_ = name
75 self.elapsed_ = 0.0
76 self.started_ = False
77 self.start_time = time.time()
78
79 def start(self):
80 """Start the timer."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected