Skip to main content

cpu_counter_timestamp

Macro cpu_counter_timestamp 

Source
macro_rules! cpu_counter_timestamp {
    ($category:tt, $label:tt, $timestamp:expr, $counter_id:expr $(, $key:tt => $val:expr)* $(,)?) => { ... };
}
Expand description

Similar to cpu_counter!, but accepts an expression to use for the event timestamp.