pub trait MonotonicCounter {
    // Required method
    fn add(
        &self,
        value: u64,
        attributes: Option<&Attributes>,
        context: Option<&dyn Context>,
    );
}
Available on non-PowerPC only.
Expand description

A counter that monotonically increases.

Required Methods§

fn add( &self, value: u64, attributes: Option<&Attributes>, context: Option<&dyn Context>, )

Increment a counter by a fixed amount.

Implementors§