Commit Graph

2 Commits

Author SHA1 Message Date
c13dc82a51 submit_phases: keep timing scopes for the frame and floor lines
timing_wanted() looked only at the periodic line and the dev overlay, so with
LEONIDA_SUBMIT_PHASES_SECONDS=0 the frame and floor lines (on every
LEONIDA_SUBMIT_FRAME_SECONDS, 10 s by default) were printed with zero phase
times (found by merzleckeier on #2738). They read the phase times too, so they
now count as a consumer. The new test turns the periodic line off before the
first read and checks that scopes stay timed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:34:27 +01:00
ed34b996ce runtime: harden submit_phases period parsing and skip Scope overhead when disabled 2026-11-25 19:35:17 +01:00