Skip to content

steady_state

diapason.telemetry.steady_state

Steady-state detection for energy measurement at thermal equilibrium.

SteadyStateConfig dataclass

Configuration for steady-state detection.

SteadyStateDetector

Detect steady state using coefficient of variation over a sliding window.

The first warmup_samples recordings are always classified as warmup. After warmup, the CV (stdev / mean) of the last window_size values is checked. When CV < cv_threshold for min_steady_samples consecutive checks, steady state is declared.

result property

Return a snapshot of the detection state.

record(throughput, energy=0.0, latency=0.0)

Record a sample. Returns True when steady state is reached.

reset()

Clear all recorded state.

SteadyStateResult dataclass

Result of steady-state detection.