feat(agc): retain all recorded phase totals in trace summaries #15952
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15952"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-11-05T02:21:50Z.
What
Periodic and windowed summaries retain only the eight largest CPU scopes/stages. A compile phase can disappear below that limit, so summing the available per-frame values across a cold load understates its recorded duration.
Add
phase_totals_ms, containing the raw inclusive milliseconds for every recorded scope/stage, summed across threads and excludingDriver.WorkerWait. Keep the existing eight-entrytop_phases_ms_per_frameunchanged. Raw totals remain available without presents. This reuses the existing totals; it adds no per-scope clock reads or event recording.Document that nested/parallel durations overlap, totals-table overflow remains reported, and uninstrumented background work is not measured. This does not claim a title speedup or total/exclusive compiler CPU time.
Tested
Linux 7.2.11, GCC16.2 Release, AMD Radeon RX6650XT (RADV NAVI23), Mesa26.2.6. Exact main
acac7c854182a1674162f5e623aa25a6469985aeand changecd849a832356b3f321def909b1531c1b1a497237:libsandrelinkerbuilds complete on both sides.ctest -V: 8/8 per side, zero failures/skips, four actual validation-layer instance loads per side, no missing-layer diagnostics and zero VUIDs. SameANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1, validation layer, GPU and machine. Includesagc_performance_trace, guarded memory loads, embedded vertex fetch/aliasing, vertex fetch, zero-stride fetch, guarded null pointer and prepared graphics. Some cases are CPU fixtures; this is not a claim that every case executes Vulkan.Source patch, exact pins, build logs, CPU negative control, verbose focused logs/JUnit, integrity receipts and overlap review — SHA-256
986adb5f4d5402c9686d3896885975a629450d0a0bde1dc8ec32f3c986fb1d9a(download verified).No native title, FPS/loading improvement, Windows or NVIDIA execution is claimed.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)