Struct microbench::Measurement [] [src]

pub struct Measurement {
    pub iterations: u64,
    pub elapsed: Nanoseconds<u64>,
}

A measurement of the execution time of a function.

Fields

The number of times the function was executed.

The amount of time that elapsed while executing the function.

Trait Implementations

impl Copy for Measurement
[src]

impl Clone for Measurement
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Measurement
[src]

Formats the value using the given formatter.