Class of custom outputs with statistics.
More...
#include <stat_bench/stat/custom_stat_output.h>
Class of custom outputs with statistics.
Definition at line 47 of file custom_stat_output.h.
◆ CustomStatOutput()
stat_bench::stat::CustomStatOutput::CustomStatOutput |
( |
CustomOutputName | name, |
|
|
std::size_t | threads, |
|
|
std::size_t | samples, |
|
|
std::size_t | warming_up_samples, |
|
|
std::size_t | iterations, |
|
|
CustomOutputAnalysisType | analysis_type ) |
|
inline |
Constructor.
- Parameters
-
[in] | name | Name. |
[in] | threads | Number of threads. |
[in] | samples | Number of samples (including warming_up_samples). |
[in] | warming_up_samples | Number of samples for warming up. (They're ignored.) |
[in] | iterations | Number of iterations. |
[in] | analysis_type | Type of analysis. |
Definition at line 60 of file custom_stat_output.h.
◆ add()
void stat_bench::stat::CustomStatOutput::add |
( |
std::size_t | thread_index, |
|
|
std::size_t | sample_index, |
|
|
double | val ) |
|
inline |
Add a value.
- Parameters
-
[in] | thread_index | Index of the thread. |
[in] | sample_index | Index of the sample. |
[in] | val | Value of the current iteration. |
Definition at line 86 of file custom_stat_output.h.
◆ data()
auto stat_bench::stat::CustomStatOutput::data |
( |
| ) |
const -> const std::vector<std::vector<double>>& |
|
inlinenodiscardnoexcept |
◆ name()
auto stat_bench::stat::CustomStatOutput::name |
( |
| ) |
const -> const CustomOutputName& |
|
inlinenodiscardnoexcept |
◆ preprocess()
void stat_bench::stat::CustomStatOutput::preprocess |
( |
const std::vector< std::vector< clock::Duration > > & | durations | ) |
|
|
inline |
◆ stat()
auto stat_bench::stat::CustomStatOutput::stat |
( |
| ) |
const -> Statistics |
|
inlinenodiscard |
The documentation for this class was generated from the following file: