Struct gbench::TimeScope [−][src]
pub struct TimeScope { /* fields omitted */ }
Expand description
Starts a benchmarking scope on creation and ends it on drop
TimeScope saves the Instant it was created. When dropped it saves the benchmarking results to the file.
Using scope! macro instead of this struct is recommened.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TimeScope
impl UnwindSafe for TimeScope