Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zai-org/CodeGeeX
/ reset
Method
reset
codegeex/megatron/global_vars.py:215–218 ·
view source on GitHub ↗
Reset timer.
(self)
Source
from the content-addressed store, hash-verified
213
self.started_ = False
214
215
def
reset(self):
216
""
"Reset timer."
""
217
self.elapsed_ = 0.0
218
self.started_ = False
219
220
def
elapsed(self, reset=True):
221
""
"Calculate the elapsed time."
""
Callers
1
elapsed
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected