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

Method get_ticks

pager/pagerctl_mock.py:220–224  ·  view source on GitHub ↗

Get milliseconds since init.

(self)

Source from the content-addressed store, hash-verified

218 self._surface.fill(_rgb565_to_rgb888(color))
219
220 def get_ticks(self):
221 """Get milliseconds since init."""
222 if self._initialized:
223 return pygame.time.get_ticks() - self._start_ticks
224 return 0
225
226 def delay(self, ms):
227 """Sleep for milliseconds."""

Callers 3

frame_syncMethod · 0.95
_pump_eventsMethod · 0.95
initMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected