Skip to main content

rate

Function rate 

Source
pub fn rate(previous: f64, now: f64, seconds: f64) -> Option<f64>
Expand description

Events per second between two readings of a counter. A counter that went down means the node restarted: there is no rate for that interval (never a negative one).