This module defines a set of traits that can be used to plug different measurements (eg.
Unix’s Processor Time, CPU or GPU performance counters, etc.) into Criterion.rs. It also
includes the WallTime struct which defines the default wall-clock time
measurement.
This module provides an extension trait which allows in-process profilers
to be hooked into the --profile-time argument at compile-time. Users of
out-of-process profilers such as perf don’t need to do anything special.
Structure used to group together a set of related benchmarks, along with custom configuration
settings for groups of benchmarks. All benchmarks performed using a benchmark group will be
grouped together in the final report.
This enum allows the user to control how Criterion.rs chooses the iteration count when sampling.
The default is Auto, which will choose a method automatically based on the iteration time during
the warm-up phase.
Enum representing different ways of measuring the throughput of benchmarked code.
If the throughput setting is configured for a benchmark then the estimated throughput will
be reported as well as the time per iteration.