upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/boot.md
diff options
context:
space:
mode:
authorkawaii-shakal <deusex1998@gmail.com>2026-11-25 21:01:18 +0500
committerkawaii-shakal <deusex1998@gmail.com>2026-11-25 21:01:18 +0500
commit1c5e2dcab1921e171b9bb507ce7aeba52ae136db (patch)
tree9b91a1283a30965e8487a4f417b9ac4d9578ce87 /docs/boot.md
parente86b3ceaa8d9359df5baaee7e5246d219fb88dbb (diff)
title HUD: with no frame in an interval, show how long since the last one
A hang read as "0 fps 0.0 ms (worst 0)", which looks like a slow frame. Now it reads "0 fps, no frame for 12.5 s". title_hud_test checks it after presents stop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/boot.md')
-rw-r--r--docs/boot.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/boot.md b/docs/boot.md
index e9c64a6b3..4e38da7d4 100644
--- a/docs/boot.md
+++ b/docs/boot.md
@@ -118,7 +118,8 @@ Useful switches:
118 observed loss prints a `[rt] device-fault:` report to stderr. 118 observed loss prints a `[rt] device-fault:` report to stderr.
119* `LEONIDA_TITLE_HUD=1` shows live counters in the title bar of the window the title presents in 119* `LEONIDA_TITLE_HUD=1` shows live counters in the title bar of the window the title presents in
120 (`runtime/shims/title_hud.h`). It updates twice a second with: 120 (`runtime/shims/title_hud.h`). It updates twice a second with:
121 - the frame rate and the average and worst frame time from PresentX; 121 - the frame rate and the average and worst frame time from PresentX, or, when no frame came in that half
122 second, how long since the last one (a hang reads "0 fps, no frame for 12.5 s");
122 - the process's private memory and working set; 123 - the process's private memory and working set;
123 - its local GPU memory against the DXGI budget, and its shared GPU memory; 124 - its local GPU memory against the DXGI budget, and its shared GPU memory;
124 - the graphics and compute pipelines created, and the seconds spent in `vkCreate*Pipelines` in the last half 125 - the graphics and compute pipelines created, and the seconds spent in `vkCreate*Pipelines` in the last half