pub(crate) fn instant_delta<const IS_RATE: bool>(
(prev_ts, prev_value): (i64, f64),
(last_ts, last_value): (i64, f64),
) -> Option<f64>Expand description
irate (IS_RATE) or idelta of the last two samples of a window, as
(timestamp, value) pairs.