pub fn metric_with_role(name: impl Into<String>, value: f64, role: MetricRole)Expand description
Records a named metric with explicit regression behavior.
This convenience discards active-session errors. Use try_record when a
gate must observe non-finite values or queue overflow.
ยงExamples
use ailloli_ui_bench::MetricRole;
ailloli_ui_bench::metric_with_role("frame_us", 16_000.0, MetricRole::GatingSteady);