Struct microbench::Stopwatch [] [src]

pub struct Stopwatch { /* fields omitted */ }

A high-precision stopwatch.

Methods

impl Stopwatch
[src]

Constructs a new Stopwatch.

Returns the elapsed nanoseconds since this stopwatch was constructed or reset.

Resets this stopwatch.

Trait Implementations

impl Clone for Stopwatch
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Stopwatch
[src]

impl Debug for Stopwatch
[src]

Formats the value using the given formatter.