#[skip]Expand description
Marks a function to be excluded from profiling when used with measure_all.
§Usage
#[hotpath::measure_all]
impl MyStruct {
fn important_method(&self) {
// This will be measured
}
#[hotpath::skip]
fn not_so_important_method(&self) -> usize {
// This will NOT be measured
self.value
}
}§See Also
measure_all- Bulk instrumentation macromeasure- Individual function instrumentation