Function flight_tracking_erau_se300::profile_scope[][src]

pub fn profile_scope(name: &'static str) -> ScopeSampler
Expand description

Begins a sampling scope that associates the length of time ScopeSampler is alive to name name.

Once ScopeSampler is dropped, there will be an entry name in take_profile_data with the correspond duration ScopeSampler was alive for. Can be repeated to add more samples to name.