cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
|
Class to generate plots of measurement results. More...
#include <stat_bench/reporter/plot_reporter.h>
Public Member Functions | |
PlotReporter (std::string prefix) | |
Constructor. | |
void | case_finished (const BenchmarkFullName &case_info) override |
Finished a case of a benchmark. | |
void | case_starts (const BenchmarkFullName &case_info) override |
Start a case of a benchmark. | |
void | experiment_finished (const clock::SystemTimePoint &time_stamp) override |
Finished an experiment. | |
void | experiment_starts (const clock::SystemTimePoint &time_stamp) override |
Start an experiment. | |
void | group_finished (const BenchmarkGroupName &name) override |
Finished a group of benchmarks. | |
void | group_starts (const BenchmarkGroupName &name, const bench_impl::BenchmarkGroupConfig &config) override |
Start a group of benchmarks. | |
void | measurement_failed (const BenchmarkFullName &case_info, const BenchmarkCondition &cond, const std::exception_ptr &error) override |
Failed a measurement. | |
void | measurement_succeeded (const measurer::Measurement &measurement) override |
Successfully finished a measurement. | |
void | measurer_finished (const measurer::MeasurerName &name) override |
Finished benchmarks using a measurer. | |
void | measurer_starts (const measurer::MeasurerName &name) override |
Start benchmarks using a measurer. | |
![]() | |
IReporter (const IReporter &)=delete | |
IReporter (IReporter &&)=delete | |
virtual | ~IReporter ()=default |
Destructor. | |
auto | operator= (const IReporter &) -> IReporter &=delete |
auto | operator= (IReporter &&) -> IReporter &=delete |
Additional Inherited Members | |
![]() | |
IReporter ()=default | |
Constructor. | |
Class to generate plots of measurement results.
Definition at line 38 of file plot_reporter.h.
|
explicit |
|
overridevirtual |
Finished a case of a benchmark.
[in] | case_info | Information. |
Implements stat_bench::reporter::IReporter.
Definition at line 106 of file plot_reporter.cpp.
|
overridevirtual |
Start a case of a benchmark.
[in] | case_info | Information. |
Implements stat_bench::reporter::IReporter.
Definition at line 102 of file plot_reporter.cpp.
|
overridevirtual |
Finished an experiment.
[in] | time_stamp | Time stamp. |
Implements stat_bench::reporter::IReporter.
Definition at line 54 of file plot_reporter.cpp.
|
overridevirtual |
Start an experiment.
[in] | time_stamp | Time stamp. |
Implements stat_bench::reporter::IReporter.
Definition at line 49 of file plot_reporter.cpp.
|
overridevirtual |
Finished a group of benchmarks.
[in] | name | Group name. |
Implements stat_bench::reporter::IReporter.
Definition at line 83 of file plot_reporter.cpp.
|
overridevirtual |
Start a group of benchmarks.
[in] | name | Group name. |
[in] | config | Configuration. |
Implements stat_bench::reporter::IReporter.
Definition at line 77 of file plot_reporter.cpp.
|
overridevirtual |
Failed a measurement.
[in] | case_info | Information of the case. |
[in] | cond | Condition. |
[in] | error | Error. |
Implements stat_bench::reporter::IReporter.
Definition at line 115 of file plot_reporter.cpp.
|
overridevirtual |
Successfully finished a measurement.
[in] | measurement | Measurement. |
Implements stat_bench::reporter::IReporter.
Definition at line 110 of file plot_reporter.cpp.
|
overridevirtual |
Finished benchmarks using a measurer.
[in] | name | Measurer name. |
Implements stat_bench::reporter::IReporter.
Definition at line 73 of file plot_reporter.cpp.
|
overridevirtual |
Start benchmarks using a measurer.
[in] | name | Measurer name. |
Implements stat_bench::reporter::IReporter.
Definition at line 59 of file plot_reporter.cpp.