MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / get_ticks

Method get_ticks

tests/test_pager_code.py:180–182  ·  view source on GitHub ↗

Get milliseconds since init.

(self)

Source from the content-addressed store, hash-verified

178 print(f"[MockPager] clear({color:#06x})")
179
180 def get_ticks(self):
181 """Get milliseconds since init."""
182 return int((time.time() - self._start_time) * 1000)
183
184 def delay(self, ms):
185 """Sleep for milliseconds."""

Callers 2

frame_syncMethod · 0.95
run_testsFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected