diff options
| author | MoonEyes <ducoinbenjamin@yahoo.fr> | 2026-11-29 16:43:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-29 16:43:26 +0100 |
| commit | 950259cd409ec8e12bb383bc6ebb9918be78ae76 (patch) | |
| tree | 84d2d060ce62827d6bfb5efe99f60e556b2cedca /docs/boot.md | |
| parent | 15701e412d126d637f6b8480bb911d1782a3746c (diff) | |
| parent | 7d571f75b7e126e69f8eb61d151ac7f11d866803 (diff) | |
Merge pull request #1931 from kawaii-shakal/io-trace
dstorage, fs: LEONIDA_IO_TRACE logs every read the title asks for, flushed as it goes (RT-IO-TRACE)
Diffstat (limited to 'docs/boot.md')
| -rw-r--r-- | docs/boot.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/boot.md b/docs/boot.md index ed3369a3e..864ac0993 100644 --- a/docs/boot.md +++ b/docs/boot.md | |||
| @@ -133,6 +133,13 @@ Useful switches: | |||
| 133 | diagnostic). | 133 | diagnostic). |
| 134 | * `LEONIDA_DEVICE_FAULT=1` enables Vulkan device-loss diagnostics and checkpoints where available. The first | 134 | * `LEONIDA_DEVICE_FAULT=1` enables Vulkan device-loss diagnostics and checkpoints where available. The first |
| 135 | observed loss prints a `[rt] device-fault:` report to stderr. | 135 | observed loss prints a `[rt] device-fault:` report to stderr. |
| 136 | * `LEONIDA_IO_TRACE=<file>` writes one line for every read the title asks for (`runtime/shims/io_trace.h`): | ||
| 137 | - `ds`: a DirectStorage request, with its file, file offset, source and destination sizes, zlib and BCPack, and the | ||
| 138 | request's name; | ||
| 139 | - `rf`: a ReadFile, ReadFileEx or ReadFileScatter on a disk file, with its path, offset and size. | ||
| 140 | |||
| 141 | Each line starts with the local time, as the `mem-probe` lines do. Each line is flushed at once and the file can be | ||
| 142 | read while the game runs, so the last reads before a crash or a device loss name what the title was loading. | ||
| 136 | * `LEONIDA_TITLE_HUD=1` shows live counters in the title bar of the window the title presents in | 143 | * `LEONIDA_TITLE_HUD=1` shows live counters in the title bar of the window the title presents in |
| 137 | (`runtime/shims/title_hud.h`). It updates twice a second with: | 144 | (`runtime/shims/title_hud.h`). It updates twice a second with: |
| 138 | - the frame rate and the average and worst frame time from PresentX, or, when no frame came in that half | 145 | - the frame rate and the average and worst frame time from PresentX, or, when no frame came in that half |