MCPcopy Create free account
hub / github.com/THUDM/GLM / __init__

Method __init__

utils.py:119–123  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

117 """Timer."""
118
119 def __init__(self, name):
120 self.name_ = name
121 self.elapsed_ = 0.0
122 self.started_ = False
123 self.start_time = time.time()
124
125 def start(self):
126 """Start the timer."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected