Function splashsurf_lib::profiling::reset [−][src]
pub fn reset()
This is supported on crate feature
profiling
only.Expand description
Resets the profiling data of all thread local Profiler
s
Note that it should be ensure that this is called outside of any scopes. It’s safe to also call this function from inside a scope but it can lead to inconsistent profiling data (if a new scope is created afterwards followed by dropping of an old scope).