Module api

Source
Available on crate feature api only.
Expand description

The api contains all elements which the runner can understand

Structs§

BinaryBenchmark
The model for the #[binary_benchmark] attribute or the equivalent from the low level api
BinaryBenchmarkBench
The model for the #[bench] attribute or the low level equivalent
BinaryBenchmarkConfig
The model for the configuration in binary benchmarks
BinaryBenchmarkGroup
The model for the binary_benchmark_group macro
BinaryBenchmarkGroups
The model for the main! macro
CachegrindMetricIter
An iterator over the variants of CachegrindMetric
CachegrindRegressionConfig
The model for the regression check configuration of Cachegrind
CallgrindRegressionConfig
The model for the regression check configuration of Callgrind
Command
The model for the command returned by the binary benchmark function
Delay
The delay of the Command
DhatMetricIter
An iterator over the variants of DhatMetric
DhatRegressionConfig
The model for the regression check configuration of DHAT
ErrorMetricIter
An iterator over the variants of ErrorMetric
EventKindIter
An iterator over the variants of EventKind
Fixtures
The fixtures to copy into the Sandbox
FlamegraphConfig
The model for the configuration of flamegraphs
LibraryBenchmark
The model for the #[library_benchmark] attribute
LibraryBenchmarkBench
The model for the #[bench] attribute in a #[library_benchmark]
LibraryBenchmarkConfig
The model for the configuration in library benchmarks
LibraryBenchmarkGroup
The model for the library_benchmark_group macro
LibraryBenchmarkGroups
The model for the main macro
OutputFormat
The configuration values for the output format
RawArgs
The raw arguments to pass to a valgrind tool
Sandbox
The sandbox to run the benchmarks in
Tool
The tool configuration
Tools
The configurations of all tools to run in addition to the default tool

Enums§

CachegrindMetric
All metrics which cachegrind produces and additionally some derived events
CachegrindMetrics
A collection of groups of CachegrindMetrics
CallgrindMetrics
A collection of groups of EventKinds
DelayKind
The kind of Delay
DhatMetric
The metrics collected by DHAT
DhatMetrics
A collection of groups of DhatMetrics
Direction
The Direction in which the flamegraph should grow.
EntryPoint
The EntryPoint of a benchmark
ErrorMetric
The error metrics from a tool which reports errors
EventKind
All EventKinds callgrind produces and additionally some derived events
ExitWith
Set the expected exit status of a benchmarked binary
FlamegraphKind
The kind of Flamegraph which is going to be constructed
Limit
A Limit which can be either an integer or a float
Pipe
Configure the Stream which should be used as pipe in Stdin::Setup
Stdin
This is a special Stdio for the stdin method of Command
Stdio
Configure the Stdio of Stdin, Stdout and Stderr
ToolFlamegraphConfig
The tool specific flamegraph configuration
ToolOutputFormat
The tool specific metrics to show in the terminal output
ToolRegressionConfig
The tool specific regression check configuration
ValgrindTool
The valgrind tools which can be run

Functions§

update_option
Update the value of an Option