Struct burn_common::benchmark::BenchmarkDurations
source · pub struct BenchmarkDurations {
pub durations: Vec<Duration>,
}Expand description
Results of a benchmark run.
Fields§
§durations: Vec<Duration>All durations of the run, in the order they were benchmarked
Implementations§
source§impl BenchmarkDurations
impl BenchmarkDurations
sourcepub fn median_duration(&self) -> Duration
pub fn median_duration(&self) -> Duration
Returns the median duration among all durations
Trait Implementations§
source§impl Debug for BenchmarkDurations
impl Debug for BenchmarkDurations
Auto Trait Implementations§
impl RefUnwindSafe for BenchmarkDurations
impl Send for BenchmarkDurations
impl Sync for BenchmarkDurations
impl Unpin for BenchmarkDurations
impl UnwindSafe for BenchmarkDurations
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more