ppsspp_gpu_stats
Query GPU performance counters for an active PPSSPP session, retrieving fps, vblanks per second, and timing details to diagnose emulator performance issues.
Instructions
PURPOSE: Query GPU counters — fps, vblanks per second, timing info.
USAGE: session_id. The CPU must be RUNNING; paused, the MCP pre-probe returns CPU_STATE_ERROR instead of hanging — which doubles as the cheapest paused-CPU probe.
BEHAVIOR: READ-ONLY.
RETURNS: {fps, vblanks_per_second, info, timing, raw, text}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Active session ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | Yes | Frames per second. None if PPSSPP didn't return it (e.g., no game running, or response shape differs). | |
| raw | Yes | Raw `gpu.stats.get` response from PPSSPP. | |
| info | Yes | GPU info dict (vendor / name / version, etc.). | |
| text | Yes | Unified text representation: 'fps={FPS} vblanks={VBLANKS} info_keys={N} timing_keys={N}'. | |
| timing | Yes | GPU timing dict (frame / block / vertex timing, etc.). | |
| vblanks_per_second | Yes | VBlanks per second. None if PPSSPP didn't return it. |