Skip to main content

cpu_counter

Macro cpu_counter 

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

Similar to counter!, but associates the event with the current CPU instead of the current thread.