mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 15:19:58 -04:00
Write the session's reports when the window loses the focus in play, more often in play, and log every end of the game in the launcher.
The session of 2026-11-13 ended 8 s after its window lost the focus, after 7 minutes of play, with none of the game's exit lines: no frame-time summary of its last period, no stutter map of its last minute and no growth ranking at all, as the ranking came every 10 minutes. When the window loses the focus in play, the present thread now writes the frame-time summary so far (starting a new period), the stutter map and the growth ranking at its next present, at most once a minute; formatting only, nothing asks the device. The growth ranking comes every 2 minutes of play instead of 10, the stutter map every 5 instead of 10. A process that ends through exit() rather than plat_exit now writes the log thread's queue last, after the frame-time summary's exit handler, instead of losing it. The launcher logged a game's end only for a nonzero code, so the session's end with code 0 left no line anywhere. It now logs every end of a game it started, and when the game's log has no line of the game's own end (the window's close, the game's ExitProcess, a timed run's end, a FATAL or exit line), it notes the end there too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -283,8 +283,8 @@ keeps per-core data without locks and relies on that, so the host models it (`ru
|
||||
tables, the texture cache and its decode temporaries, the log queue, the flight recorder), the data of the driver's
|
||||
pipeline caches (asked once a minute on the autosave thread) and the rest;
|
||||
`mem: growth` names what grew by more than 64 MiB since the report before and since the first report in play. Every
|
||||
ten minutes of play and at exit, `mem: growth ranking` ranks the categories by their growth since play began and
|
||||
marks those that only climbed (`mem_growth.h`).
|
||||
two minutes of play, when the window loses the focus in play and at exit, `mem: growth ranking` ranks the categories
|
||||
by their growth since play began and marks those that only climbed (`mem_growth.h`).
|
||||
- Released textures by age: the game releases a texture when what uses it leaves the view and takes it back when that
|
||||
returns; the cache keeps the released image so that the take-back finds it. In play the take-backs came within a
|
||||
minute of the release or never, so a released texture goes once it has gone unused for a hold of three minutes, six
|
||||
|
||||
@@ -574,7 +574,8 @@ files), `start.pyw` on a version that cannot be imported (exit code 86 at once,
|
||||
back to), a cut RomFS image and the free space, the object cache written while the compile runs and kept when it is
|
||||
cut, a RomFS step that does not repeat the lift, the update's duration text and the warm-up's bar, a damaged dump
|
||||
named by its file and an unexpected error by its message, the file check's result in its row and on home, the
|
||||
game's FATAL line after exit codes 70 and 71, the job count by free memory and the build's priority class, a line
|
||||
game's FATAL line after exit codes 70 and 71, an end with code 0 noted in the game's log when it has no line of the
|
||||
game's own end, the job count by free memory and the build's priority class, a line
|
||||
handler that raises and a log that cannot be written, one forced update check a minute and GitHub's reset time, a
|
||||
game folder with characters outside the Basic Multilingual Plane (its `modules.c` compiled when a C compiler is
|
||||
there), the file check at both piece sizes against the check as it was, the disk space of every step and the build
|
||||
|
||||
Reference in New Issue
Block a user