Files
mandy/tools
owenjbendon-creator 016554bef3 d3d12_run_fps: no argument comes back in an error, frame lines only where the logger wrote them, an unfinished last line skipped (TOOLS-D3D12-RUN-FPS)
From the review of 9f7587e19:

- An argument error named what was typed: a second log given without
  --compare came back as "unrecognized arguments: <path>", and a bad
  --min-samples value was quoted. Unknown arguments are now counted, not
  quoted, --min-samples has its own type whose message is fixed text, and
  options cannot be abbreviated.
- A frame line counts only at the start of a line or after the time stamp,
  level and target of the host's INFO message (leonida_gpu::host, and
  victory_gpu::host of the forks this runtime came from). The same words
  inside another message are not read.
- A last line the writer did not finish (no line end) is skipped whatever it
  holds, and the pattern asks for the words that follow the draw count, so a
  line cut after the count gives no sample.
- The text gives the textures' MB and the copy-back's MB too, as the JSON
  does.

Test: python -I tests/test_d3d12_run_fps.py (19 tests). New: a frame line
counts only where the logger wrote it; a last line without its end; no error
gives back what was typed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 01:15:08 +00:00
..
…
…
…