Skip to content

hub: FPS / VI / ms-per-VI readout from the link - #31

Merged
TechnicallyComputers merged 2 commits into
mainfrom
feat/frame-stats
Oct 8, 2026
Merged

TechnicallyComputers merged 2 commits into
mainfrom
feat/frame-stats

Conversation

@TechnicallyComputers

Copy link
Copy Markdown
Member

The hub's side of RetroPortingToolKit/Retro-Runtime#6. The F3 / "Show FPS" readout used to be one number, and that number was really the VI rate. It is now three rows: FPS (the game's own pictures a second), VI (frames presented a second) and ms/VI (the runner's measured emulation time per frame).

  • PlaySession::note_frames passes Osd::note_counters the link's running totals: frames_done() and frame_stats() (game_frame, work_ns). The per-frame timestamp spreading the old readout needed is gone.
  • The Retro-Runtime submodule moves to ed79d16 (the Runtime PR branch). Re-point it at the merge commit once Runtime#6 merges.
  • With a 2.1 runner, FPS and ms/VI read -- and VI still works.

Checked

  • Built against the Runtime branch; ctest 39/39.
  • The hub booted Pokemon Stadium (--boot, n64lle fixture package with n64lle#83's core). I could not screenshot the readout on screen: the window sat behind other windows and this machine has no Xvfb. The on-screen check is still owed (F3 in game). The readout's rendering was checked through retro-overlay-test --dump.

🤖 Generated with Claude Code

TechnicallyComputers and others added 2 commits October 8, 2026 12:38
note_frames hands Osd::note_counters the link's running totals
(Retro-Runtime link 2.2): frames done give VI, the game's own count FPS
(rcore rev 8 game_frame), the runner's run_frame time ms/VI. A 2.1 runner
sends neither of the last two and those rows read --. The per-frame
spreading the old one-number FPS needed is gone: rates come from totals.

Retro-Runtime submodule -> ed79d16 (Retro-Runtime#6, feat/frame-stats).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P8WyraAmnCpC7UwtCEWdw5
@TechnicallyComputers
TechnicallyComputers merged commit 14ef5cd into main Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant