90 -> std::shared_ptr<param::ParameterValueVector<T>> {
91 return params_.add<T>(param_name);
101 template <
typename T>
103 -> std::shared_ptr<param::ParameterValueVector<T>> {
113 -> std::shared_ptr<param::ParameterValueVector<std::size_t>> {
129 auto operator=(
const FixtureBase&) -> FixtureBase& =
delete;
130 auto operator=(FixtureBase&&) -> FixtureBase& =
delete;
145 void execute() final {
158 [[nodiscard]]
auto params() const noexcept
159 -> const
param::ParameterConfig& final {
164 param::ParameterConfig params_{};
virtual void run()=0
Run actual process in each case.
virtual void tear_down(InvocationContext &context)
Tear down after running actual process.
FixtureBase()=default
Constructor.
~FixtureBase() override=default
Destructor.
auto add_param(const param::ParameterName ¶m_name) -> std::shared_ptr< param::ParameterValueVector< T > >
Add a parameter.
virtual void setup(InvocationContext &context)
Setup before running actual process.
auto add_param(std::string param_name) -> std::shared_ptr< param::ParameterValueVector< T > >
Add a parameter.
auto add_threads_param() -> std::shared_ptr< param::ParameterValueVector< std::size_t > >
Add a parameter of the number of threads.
Class of context of invocations of benchmarks.
Interface of cases in benchmarks.
Class of names of parameters.
Definition of current_invocation_context function.
Definition of IBenchmarkCase class.
Definition of InvocationContext class.
Namespace of parameters of benchmarks.
auto num_threads_parameter_name() -> const ParameterName &
Get the parameter name for the number of threads.
Namespace of stat_bench source codes.
auto current_invocation_context() -> InvocationContext &
Get the current invocation context.
Definition of num_threads_parameter_name function.
Definition of ParameterConfig class.
Definition of ParameterName class.
Definition of ParameterValueVector class.