Files
metal2vulkan/docs
Anees Iqbal d3bfe3815d harness, matrix: a frame row is its throughput, and its latency from idle a row of its own
The planner's metric for the frame rows. A frame row's time was its runs' last command buffer's
commit-to-complete time with two runs in flight, which mixes the time a frame adds with how long
it waits behind the one before. Now `frame` and `frame_5cb` (Plan::frames) carry two figures,
each the steady time (best window of ten) of the harness's own completed-handler times:

- THROUGHPUT, the row of record (matrix_time): two runs in flight, from one run's last completed
  handler to the next's. The pairs around the waits that read the gauges after runs 100 and 200
  (GAUGE_RUNS) are left out, as an untimed run sits between them.
- LATENCY FROM IDLE, the row `<row>_from_idle` (FROM_IDLE): as many runs again after the timed
  ones, one in flight, each committed once the one before it completed, from just before its first
  commit to its last completed handler.

The completed handlers now report the time of their commit and of their own run against one
origin (Completions, Handled), so the commit-to-complete times, the throughput and the latency
come from one record. The frames' commit-to-complete time is still printed, as
`<row>/commit_to_complete`, which the matrix shows and does not judge (SHOWN_ROWS) for one round.
Each latency row takes the ceiling and floor its workload's row has (listed_row), in the budget,
the over table and the re-time selection, and is re-timed through its workload's runs. Other
workloads are unchanged, long_4cb's commit-to-complete time included. The shape follows core's
one-run-in-flight probe (3eaec97076), without its environment gate.

Verified: test_results (a new test: a latency row past its workload's ceiling and the budget,
the commit-to-complete row shown and never judged, the over table and the re-time selection
choosing the latency rows); the harness's unit tests gain the throughput and latency arithmetic
(the gauge pairs left out) and matrix_time's frames case; the harness gate job named in the
landing message runs clippy, rustdoc, the unit tests and the authored workloads on lavapipe.
2026-11-18 15:51:27 -08:00
..