Files
metal2vulkan/crates
Anees Iqbal 9d966c54df rt: a tally adds only the metrics it counted
The encoder change's tally visited all 25 metrics at each add, at every
encoder's end and again at every commit: on a burst of command buffers of one
dispatch each that is two 25-step loops per command buffer. On the Iris Xe
host (job m3-max-47513, i9-13900H pinned to its performance cores) burst_2000
took 29,285 user-space instructions per command buffer at bfaf8ca194 against
28,581 at 69af14bd22, with the encode time the same (5,852 against 5,788 ns).

The tally now keeps a bit per metric counted, and the add visits those alone:
one atomic add for each metric counted, none for a tally that counted
nothing (a commit with no command between its encoders). Expected to take
the per-command-buffer instructions back under the tip's; to be measured.
2026-11-18 11:04:48 -08:00
..