snarkvm_metrics

Function increment_counter

Source
pub fn increment_counter(name: &'static str)
Expand description

Increments a counter with the given name by one.

Counters represent a single monotonic value, which means the value can only be incremented, not decremented, and always starts out with an initial value of zero.