upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/scripts/linux-boot/boot-digest.sh
diff options
context:
space:
mode:
authorTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-11-30 19:29:57 +0100
committerTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-11-30 19:29:57 +0100
commit4c36dba7cba852102cbe737ceccdce07e820a421 (patch)
tree618c4becaa1115b34353c8eb44579e6770a3a2ce /scripts/linux-boot/boot-digest.sh
parent6cdc0a0d13e33daeae13f7fcfdde0907c46bc73d (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 'scripts/linux-boot/boot-digest.sh')
0 files changed, 0 insertions, 0 deletions