//! CPU-utilization test TX hooks (`cpu-test-tx` feature).
//!
//! The CPU-utilization experiment drives the emitter's TX loop from a schedule
//! that changes the injection rate and on-air frame size every phase, and goes
//! silent during baseline phases. [`crate::emitter::run_emitter`] reads these
//! atomics each iteration so the experiment's schedule driver can steer the
//! *real* library TX path without re-running `node.run()` per phase. The whole
//! module is gated so production builds carry none of this.
use ;
/// Runtime injection rate (Hz) for the CPU-test emitter TX loop.
pub static TEST_TX_RATE_HZ: AtomicU32 = new;
/// Runtime on-air frame size (bytes) for the CPU-test emitter TX loop. The
/// injected frame is padded up to this length, capped at the buffer size.
pub static TEST_TX_PAYLOAD_B: AtomicU32 = new;
/// When true, the CPU-test emitter TX loop sends nothing (baseline phases).
pub static TEST_TX_PAUSED: AtomicBool = new;
/// Set the CPU-test emitter injection rate (Hz). See `TEST_TX_RATE_HZ`.
/// Set the CPU-test emitter on-air frame size (bytes). See `TEST_TX_PAYLOAD_B`.
/// Pause/unpause the CPU-test emitter TX loop (silent baseline phases).