diff options
| author | TheGeogeo <57634077+TheGeogeo@users.noreply.github.com> | 2026-11-30 19:29:57 +0100 |
|---|---|---|
| committer | TheGeogeo <57634077+TheGeogeo@users.noreply.github.com> | 2026-11-30 19:29:57 +0100 |
| commit | 4c36dba7cba852102cbe737ceccdce07e820a421 (patch) | |
| tree | 618c4becaa1115b34353c8eb44579e6770a3a2ce /runtime/src/xma2_decoder.cpp | |
| parent | 6cdc0a0d13e33daeae13f7fcfdde0907c46bc73d (diff) | |
d3d12: LEONIDA_AB tells the frame lines' counters by arm (D3D12-AB-COUNTERS)
LEONIDA_AB compares switch settings by turns in one run, but its phase
lines carried only frame times, the card's idle time and the submitting
thread's work: an A/B could not split by arm the time spent changing memory
protections, refreshing, or waiting. The frame lines' counters (watch's
ASKS and FAULT_ASKS, host's SPLIT) were emptied with swap(0) by the frame
line, which runs on its own thread at its own pace, so a phase could not
read them.
They are now running totals, never reset; no writer changes. The frame
line takes what came since its last take (ab::take, a fetch_max on a
second array, so two takers never count the same amount twice) and prints
the same numbers. Each A/B phase snapshots the totals where it reads the
card's idle time and logs one more line, "A/B counters phase N bits b:",
with each counter that moved, per frame, named next to its array
(nanoseconds as ms). Diagnostics builds only, as before.
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions