MCPcopy Create free account
hub / github.com/google-deepmind/dm_control / __init__

Method __init__

dm_control/viewer/util.py:259–262  ·  view source on GitHub ↗

Instance initializer.

(self)

Source from the content-addressed store, hash-verified

257 """Measures time elapsed between two ticks."""
258
259 def __init__(self):
260 """Instance initializer."""
261 self._previous_time = time.time()
262 self._measured_time = 0.
263
264 def tick(self):
265 """Updates the timer.

Callers 1

__init__Method · 0.45

Calls 1

timeMethod · 0.45

Tested by

no test coverage detected