MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / snapshot

Method snapshot

unity_cli/api/profiler.py:29–31  ·  view source on GitHub ↗

Get current frame profiler data.

(self)

Source from the content-addressed store, hash-verified

27 return self._conn.send_request("profiler", {"action": "stop"})
28
29 def snapshot(self) -> dict[str, Any]:
30 """Get current frame profiler data."""
31 return self._conn.send_request("profiler", {"action": "snapshot"})
32
33 def frames(self, count: int = 10) -> dict[str, Any]:
34 """Get recent N frames summary.

Callers 2

profiler_snapshotFunction · 0.80

Calls 1

send_requestMethod · 0.80

Tested by 1