MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / reset

Method reset

utils/stopwatch.py:103–107  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

101 return Stopwatch._tfunc() - start
102
103 def reset(self):
104 # clear stat
105 self.min = 0.0
106 self.max = 0.0
107 self.__first = True
108
109 def __enter__(self):
110 self.start = Stopwatch._tfunc()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected