MCPcopy Create free account
hub / github.com/PaddlePaddle/Research / __init__

Method __init__

CV/SemSegPaddle/src/utils/timer.py:33–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31 """ Simple timer class for measuring time consuming """
32
33 def __init__(self):
34 self._start_time = 0.0
35 self._end_time = 0.0
36 self._elapsed_time = 0.0
37 self._is_running = False
38
39 def start(self):
40 self._is_running = True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected