macro_rules! unpause_stack {
() => { ... };
}
Expand description
Resume timers that were paused by pause_stack!()
This clears the set of paused timers on the current thread, allowing previously paused timers to record again.
ยงExample
use quantum_pulse::{profile, pause_stack, unpause_stack, Operation};
use std::fmt::Debug;
#[derive(Debug)]
enum AppOperation {
Work,
}
impl Operation for AppOperation {}
profile!(AppOperation::Work, {
do_work();
pause_stack!();
do_excluded_work();
unpause_stack!();
do_work();
});