9 #ifndef CPPBENCHMARK_SETTINGS_THREADS_H
10 #define CPPBENCHMARK_SETTINGS_THREADS_H
Settings & Threads(int threads)
Add new threads count to the benchmark running plan.
int64_t operations() const noexcept
Get count of operations.
Settings()
Initialize settings with the default benchmark duration (5 seconds)
const std::vector< int > & threads() const noexcept
Get collection of independent threads counts in a benchmark plan.
Threads benchmark settings.
SettingsThreads(int threads, int64_t operations)
Initialize settings with the given count of running threads and the given count of operations.
SettingsThreads(int threads)
Initialize settings with the given count of running threads.
SettingsThreads(Settings &&settings) noexcept
SettingsThreads()
Initialize settings with the default benchmark duration (5 seconds)
SettingsThreads(const Settings &settings)
SettingsThreads(const SettingsThreads &)=default
SettingsThreads(SettingsThreads &&) noexcept=default
C++ Benchmark project definitions.
Benchmark settings definition.