mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-19 04:19:57 -04:00
The review of cd2fd454 found that vk_sync.c submit calls vk_present_frames_owed before its replay timing starts (t0 = perf_begin), so the owed bookkeeping a submitting thread runs was timed nowhere: a DLSS release in vk_dlaa_frame (16 to 45 ms, F-4-02) would have shown as unattributed time in the frame-time and slow-frame lines, where the design counts it as that thread's replay time. vk_present_frames_owed now times the frames it runs and adds them with perf_replay. The present thread's catch-up before a blit (present_frame_closed) is not replay: it shows in the present thread's own blit time and in the frame bookkeeping line. Checks that passed: pass_cc_check of vk_backend.c with no new -Wall -Wextra warnings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
62 KiB
62 KiB