Struct bma_benchmark::StagedBenchmark
source · pub struct StagedBenchmark { /* private fields */ }Expand description
Staged benchmark
Implementations§
source§impl StagedBenchmark
impl StagedBenchmark
pub fn new() -> Self
sourcepub fn finish_current(&mut self, iterations: u32, errors: u32)
pub fn finish_current(&mut self, iterations: u32, errors: u32)
Finish current (last started) benchmark stage
sourcepub fn result_table(&self) -> Table
pub fn result_table(&self) -> Table
Get the result table for staged benchmark
sourcepub fn result_table_for(&self, eta: &str) -> Table
pub fn result_table_for(&self, eta: &str) -> Table
Get the result table for staged benchmark, specifying the reference stage
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StagedBenchmark
impl RefUnwindSafe for StagedBenchmark
impl Send for StagedBenchmark
impl Sync for StagedBenchmark
impl Unpin for StagedBenchmark
impl UnwindSafe for StagedBenchmark
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