9#ifndef CPPBENCHMARK_BENCHMARK_H
10#define CPPBENCHMARK_BENCHMARK_H
32 template<
typename... Types>
58 void Launch(
int& current,
int total,
LauncherHandler& handler)
override;
Benchmark base definition.
BenchmarkBase(const std::string &name, Types... settings)
Default class constructor.
virtual int CountLaunches() const
Get the count of benchmark launches.
const Settings & settings() const
Get benchmark settings.
const std::string & name() const
Get benchmark name.
Settings TSettings
Benchmark settings type.
Benchmark & operator=(Benchmark &&)=delete
Benchmark & operator=(const Benchmark &)=delete
Benchmark(const std::string &name, Types... settings)
Default class constructor.
Benchmark(const std::string &name, const TSettings &settings)
Alternative class constructor.
virtual ~Benchmark()=default
virtual void Run(Context &context)=0
Benchmark run method.
Benchmark(const Benchmark &)=delete
Benchmark(Benchmark &&)=delete
Benchmark running context.
Fixture() noexcept=default
Benchmark fixture definition.
C++ Benchmark project definitions.