mz_ore::metrics

Type Alias Counter

Source
pub type Counter = GenericCounter<AtomicF64>;
Available on crate feature metrics only.
Expand description

A Metric represents a single numerical value that only ever goes up.

Aliased Type§

struct Counter { /* private fields */ }

Trait Implementations§

Source§

impl DurationMetric for Counter

Source§

fn record(&mut self, seconds: f64)