cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
|
Namespace of statistics. More...
Classes | |
class | CustomStatOutput |
Class of custom outputs with statistics. More... | |
class | Statistics |
Class to calculate statistics. More... | |
Enumerations | |
enum class | CustomOutputAnalysisType : std::uint8_t { mean , rate_per_sec } |
Enumeration of types of analysis applied to custom outputs. More... | |
Functions | |
auto | calc_stat (const std::vector< std::vector< clock::Duration > > &durations, std::size_t iterations) -> stat::Statistics |
Calculate statistics. | |
auto | calc_stat (const std::vector< std::vector< double > > &values) -> stat::Statistics |
Calculate statistics. | |
Namespace of statistics.
|
strong |
Enumeration of types of analysis applied to custom outputs.
Enumerator | |
---|---|
mean | Mean per sample. |
rate_per_sec | Rate per sec. |
Definition at line 39 of file custom_stat_output.h.
|
nodiscard |
Calculate statistics.
[in] | durations | Durations. |
[in] | iterations | Number of iterations. |
Definition at line 31 of file calc_stat.cpp.
|
nodiscard |
Calculate statistics.
[in] | values | Sample values. |
Definition at line 77 of file calc_stat.cpp.