Skip to main content

barrier_count

Function barrier_count 

Source
pub fn barrier_count() -> u64
Expand description

Read the current value of BARRIER_COUNT.

Each memory_barrier() call that reaches the underlying objc::msg_send![encoder, memoryBarrierWithScope:] site increments this counter. Capture-mode no-ops and pre-encoder no-ops are excluded. ADR-015 H4 hypothesis: ~440 barriers/token on the qwen35 decode hot path (verify against this counter).