Struct bma_benchmark::Benchmark[][src]

pub struct Benchmark { /* fields omitted */ }
Expand description

Simple benchmark or a stage

Implementations

Create simple benchmark with unknown number of iterations

Create simple benchmark with pre-defined number of iterations

Reset the benchmark timer

Finish a simple benchmark

Finish a simple benchmark, specifying number of iterations made

Print a simple benchmark result

Print a simple benchmark result, specifying number of iterations made

Get a benchmark result

Get a benchmark result, specifying number of iterations made

Increment iterations inside benchmark

Not required to use if the number of iterations is specified at benchmark creation or finish / print

Trait Implementations

Returns the “default value” for a type. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.