pub struct RunThroughReport { /* private fields */ }
Expand description
The RunThroughReport
struct provides a benchmark report when calling
DevTime::run_benchmark()
.
You can get the slowest, fastest and the average time taken per iteration
by the get_slowest()
, get_fastest()
and get_average()
functions
respectively.
Implementations§
Source§impl RunThroughReport
impl RunThroughReport
pub fn print_stats(&self)
pub fn get_fastest(&self) -> u128
pub fn get_slowest(&self) -> u128
pub fn get_average(&self) -> u128
Auto Trait Implementations§
impl Freeze for RunThroughReport
impl RefUnwindSafe for RunThroughReport
impl Send for RunThroughReport
impl Sync for RunThroughReport
impl Unpin for RunThroughReport
impl UnwindSafe for RunThroughReport
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