Struct microbench::Measurement
[−]
[src]
pub struct Measurement { pub iterations: u64, pub elapsed: Nanoseconds<u64>, }
A measurement of the execution time of a function.
Fields
iterations: u64
The number of times the function was executed.
elapsed: Nanoseconds<u64>
The amount of time that elapsed while executing the function.
Trait Implementations
impl Copy for Measurement
[src]
impl Clone for Measurement
[src]
fn clone(&self) -> Measurement
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more