diff options
| author | MoonEyes <14891700+MoonEyes@users.noreply.github.com> | 2026-11-25 23:33:17 +0100 |
|---|---|---|
| committer | MoonEyes <14891700+MoonEyes@users.noreply.github.com> | 2026-11-25 23:47:38 +0100 |
| commit | 40e94ebb20782fdb942c1ca377740c070e74cee6 (patch) | |
| tree | 679d4b4e0f9f60775298f6f8599cc9e235c7427d /runtime/test/queue_proxy_test.cpp | |
| parent | d3b8251bc390418cdbc1f2d30727b6b31d889cfa (diff) | |
runtime: pipeline order recorder and replay request hook (RT-PIPELINE-PREWARM-ORDER, phase 1)
pipeline_order.h: a passive recorder of the first request of each pipeline and
variant, with its text file format (checksummed lines, truncated or damaged
lines skipped on read) and a lock-free, allocation-free hot path with a writer
thread of its own. ComputePipeline and GraphicsPipeline get a `requested`
callback, called where a submission is prepared, also for handles that exist
already. Nothing uses either yet; the device wiring is the next commit.
Tests (CPU only): pipeline_order_test (first request only, variants, order,
round trip, truncation at every byte, damaged lines, sessions, full record,
bounded file, unwritable file, 8 threads, no allocation, counts line) and
replay_pipeline_order_hook_test (ready, lazy, skipped, unbound variant).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions