Macro prof_start

Source
macro_rules! prof_start {
    ($var: literal) => { ... };
}
Expand description

Write to the /tmp/hc_perf_control to enable perf sampling if ${$var} is defined.

This macro doesn’t generate any code if the profiling feature is disabled.