42 double clamp(
double c,
double warning_threshold, std::string_view name);
48 void report(
double warning_threshold)
const;
std::string_view worst_component_name
aliases Component::name
std::size_t n_severe_values
total severe values clamped
std::size_t n_severe_cells
cells with a severe clamp
double clamp(double c, double warning_threshold, std::string_view name)
double worst_negative_value
ClampingStats & operator+=(ClampingStats const &other)
Folds another stats object into this accumulator (identity = {}).
double total_clamped_amount
void report(double warning_threshold) const
WARN for severe clamps, DBUG for silent noise clamps. No-op when empty.
std::size_t n_values
total values clamped
std::size_t n_cells
cells with any clamping