Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdaCompNUS/summit
/ __call__
Method
__call__
PythonAPI/util/performance_benchmark.py:145–147 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
143
self._current_fps = 0
144
145
def
__call__(self, data):
146
self._pygame_clock.tick()
147
self._current_fps = self._pygame_clock.get_fps()
148
149
def
get_fps(self):
150
with
self._lock:
Callers
nothing calls this directly
Calls
2
get_fps
Method · 0.80
tick
Method · 0.45
Tested by
no test coverage detected