cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
Loading...
Searching...
No Matches
stat_bench::bench_impl::BenchmarkGroupConfig Class Reference

Class of configuration of a group of cases in benchmarks. More...

#include <stat_bench/bench_impl/benchmark_group_config.h>

+ Collaboration diagram for stat_bench::bench_impl::BenchmarkGroupConfig:

Public Member Functions

 BenchmarkGroupConfig ()=default
 Constructor.
 
void add_plot (std::shared_ptr< plots::IPlot > plot)
 Add a plot to the group.
 
auto plots () const noexcept -> const std::vector< std::shared_ptr< plots::IPlot > > &
 Get the plots in the group.
 

Detailed Description

Class of configuration of a group of cases in benchmarks.

Definition at line 34 of file benchmark_group_config.h.

Member Function Documentation

◆ add_plot()

void stat_bench::bench_impl::BenchmarkGroupConfig::add_plot ( std::shared_ptr< plots::IPlot > plot)
inline

Add a plot to the group.

Parameters
[in]plotPlot.

Definition at line 46 of file benchmark_group_config.h.

◆ plots()

auto stat_bench::bench_impl::BenchmarkGroupConfig::plots ( ) const -> const std::vector<std::shared_ptr<plots::IPlot>>&
inlinenodiscardnoexcept

Get the plots in the group.

Returns
Plots.

Definition at line 55 of file benchmark_group_config.h.


The documentation for this class was generated from the following file: