pub fn enter(name: &'static str) -> Guard
Manually enter a scope.
The returned instance of Guard should be dropped when leaving the scope.
Guard
Usually, it is more convenient to use the macro profile for including a scope in profiling, but in some special cases explicit entering/leaving can make sense.
profile