cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
|
Class of interface of plots. More...
#include <stat_bench/plots/i_plot.h>
Public Member Functions | |
IPlot ()=default | |
Constructor. | |
IPlot (const IPlot &)=delete | |
IPlot (IPlot &&)=delete | |
virtual | ~IPlot ()=default |
Destructor. | |
virtual auto | name_for_file () const -> const util::Utf8String &=0 |
Get a name for output files. | |
auto | operator= (const IPlot &) -> IPlot &=delete |
auto | operator= (IPlot &&) -> IPlot &=delete |
virtual void | write (const measurer::MeasurerName &measurer_name, const BenchmarkGroupName &group_name, const std::vector< measurer::Measurement > &measurements, const std::string &file_path)=0 |
Write a plot. | |
|
nodiscardpure virtual |
Get a name for output files.
Implemented in stat_bench::plots::BoxPlot, stat_bench::plots::CdfLinePlot, stat_bench::plots::ParameterToOutputLinePlot, stat_bench::plots::ParameterToTimeBoxPlot, stat_bench::plots::ParameterToTimeLinePlot, stat_bench::plots::ParameterToTimeViolinPlot, stat_bench::plots::SamplesLinePlot, stat_bench::plots::TimeToOutputByParameterLinePlot, and stat_bench::plots::ViolinPlot.
|
pure virtual |
Write a plot.
[in] | measurer_name | Measurer name. |
[in] | group_name | Group name. |
[in] | measurements | Measurements. |
[in] | file_path | File path of the output. |
Implemented in stat_bench::plots::BoxPlot, stat_bench::plots::CdfLinePlot, stat_bench::plots::ParameterToOutputLinePlot, stat_bench::plots::ParameterToTimeBoxPlot, stat_bench::plots::ParameterToTimeLinePlot, stat_bench::plots::ParameterToTimeViolinPlot, stat_bench::plots::SamplesLinePlot, stat_bench::plots::TimeToOutputByParameterLinePlot, and stat_bench::plots::ViolinPlot.