MCPcopy
hub / github.com/zai-org/CogView / reset

Method reset

utils.py:103–106  ·  view source on GitHub ↗

Reset timer.

(self)

Source from the content-addressed store, hash-verified

101 self.started_ = False
102
103 def reset(self):
104 """Reset timer."""
105 self.elapsed_ = 0.0
106 self.started_ = False
107
108 def elapsed(self, reset=True):
109 """Calculate the elapsed time."""

Callers 3

elapsedMethod · 0.95
backward_stepFunction · 0.45
evaluateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected