Module spec_stats

Module spec_stats 

Source
Expand description

2026-09-25: Per-run speculation counters: draft acceptance and per-position draft matches for the K=2, K=3 and K=4 verify arms, the B1 low-margin gauge, decode timing, and one-shot log latches. Nothing here changes generation.

Owner: speculative. Invariants: none beyond the types.

Structs§

SpecStats
2026-09-25: The counters of one run, held by the scheduler’s telemetry (SysTelemetry::stats). K=2 counts accepts and rejects; K=3 and K=4 also bucket steps by drafts accepted and count per-position draft matches.

Constants§

SUMMARY_PERIOD

Functions§

bump
2026-09-25: Adds one to counter (relaxed) and returns the previous value.
get
reset