macro_rules! profile_function_if {
($($arg: tt)*) => { ... };
}
Expand description
Create a profile scope based on the function name, if the given condition holds true.
Call this at the very top of a potentially expensive function.
macro_rules! profile_function_if {
($($arg: tt)*) => { ... };
}
Create a profile scope based on the function name, if the given condition holds true.
Call this at the very top of a potentially expensive function.