mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 13:09:57 -04:00
The review of c05e6528 found that vk_memory.c census_main printed the walk's start and end as kern_now_ns / 1e9, which is plat_now_ns: seconds since Windows started. No other log line uses that clock (the stutter lines give seconds since the first frame, the slow-frame and present lines frame numbers), so the walk could not be set beside the frames it held up, which is what a play-test with mem_census = 0 needs to tell the walk from the presenting thread's report as the cause of the 600N+1 hitches. census_main now reads span_frame, the frame vk_mem_census sets at every present, beside each end of the walk and logs "the walk from frame F0 to frame F1, N ms": the numbers the "stutter: frame" and "perf: slow frame" lines carry. The walk's length stays. Diagnostics only: the line is logged with NX2NAVI_MEM_CENSUS = 1, which defaults to 0. Not reproduced (it needs a game run). No tool or test reads the line. vk_memory.c compiles with the dev flags and adds no -Wall -Wextra warnings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
349 KiB
349 KiB