|
| SettingsPC () |
| Initialize settings with the default benchmark duration (5 seconds) More...
|
|
| SettingsPC (int producers, int consumers) |
| Initialize settings with the given count of producers/consumers. More...
|
|
| SettingsPC (int producers, int consumers, int64_t operations) |
| Initialize settings with the given count of producers/consumers and the given count of operations. More...
|
|
| SettingsPC (const Settings &settings) |
|
| SettingsPC (const SettingsPC &)=default |
|
| SettingsPC (Settings &&settings) noexcept |
|
| SettingsPC (SettingsPC &&) noexcept=default |
|
| ~SettingsPC ()=default |
|
SettingsPC & | operator= (const SettingsPC &)=default |
|
SettingsPC & | operator= (SettingsPC &&) noexcept=default |
|
| Settings () |
| Initialize settings with the default benchmark duration (5 seconds) More...
|
|
| Settings (int64_t operations) |
| Initialize settings with the given count of operations. More...
|
|
| Settings (const Settings &)=default |
|
| Settings (Settings &&) noexcept=default |
|
| ~Settings ()=default |
|
Settings & | operator= (const Settings &)=default |
|
Settings & | operator= (Settings &&) noexcept=default |
|
int | attempts () const noexcept |
| Get count of independent benchmark attempts. More...
|
|
bool | infinite () const noexcept |
| Is benchmark running with infinite count of operations (until cancel)? More...
|
|
int64_t | duration () const noexcept |
| Get benchmark duration in milliseconds. More...
|
|
int64_t | operations () const noexcept |
| Get count of operations. More...
|
|
const std::vector< int > & | threads () const noexcept |
| Get collection of independent threads counts in a benchmark plan. More...
|
|
const std::vector< std::tuple< int, int > > & | pc () const noexcept |
| Get collection of independent producers/consumers counts in a benchmark plan. More...
|
|
const std::vector< std::tuple< int, int, int > > & | params () const noexcept |
| Get collection of independent parameters in a benchmark plan. More...
|
|
const std::tuple< int64_t, int64_t, int > & | latency () const noexcept |
| Get latency parameters. More...
|
|
bool | latency_auto () const noexcept |
| Get automatic latency update flag. More...
|
|
Settings & | Attempts (int attempts) |
| Set independent benchmark attempts. More...
|
|
Settings & | Infinite () |
| Set infinite benchmark operations flag. More...
|
|
Settings & | Duration (int64_t duration) |
| Set benchmark duration in seconds. More...
|
|
Settings & | Operations (int64_t operations) |
| Set count of operations. More...
|
|
Settings & | Threads (int threads) |
| Add new threads count to the benchmark running plan. More...
|
|
Settings & | ThreadsRange (int from, int to) |
| Add new threads range to the benchmark running plan. More...
|
|
Settings & | ThreadsRange (int from, int to, const std::function< int(int, int, int &)> &selector) |
| Add new threads range to the benchmark running plan using given selector function. More...
|
|
Settings & | PC (int producers, int consumers) |
| Add new producers/consumers count to the benchmark running plan. More...
|
|
Settings & | PCRange (int producers_from, int producers_to, int consumers_from, int consumers_to) |
| Add new producers/consumers range to the benchmark running plan. More...
|
|
Settings & | PCRange (int producers_from, int producers_to, const std::function< int(int, int, int &)> &producers_selector, int consumers_from, int consumers_to, const std::function< int(int, int, int &)> &consumers_selector) |
| Add new producers/consumers range to the benchmark running plan using given selector functions. More...
|
|
Settings & | Param (int value) |
| Add new single parameter to the benchmark running plan. More...
|
|
Settings & | ParamRange (int from, int to) |
| Add new single parameter range to the benchmark running plan. More...
|
|
Settings & | ParamRange (int from, int to, const std::function< int(int, int, int &)> &selector) |
| Add new single parameter range to the benchmark running plan using given selector function. More...
|
|
Settings & | Pair (int value1, int value2) |
| Add new parameters pair to the benchmark running plan. More...
|
|
Settings & | PairRange (int from1, int to1, int from2, int to2) |
| Add new parameters pairs range to the benchmark running plan. More...
|
|
Settings & | PairRange (int from1, int to1, const std::function< int(int, int, int &)> &selector1, int from2, int to2, const std::function< int(int, int, int &)> &selector2) |
| Add new parameters pairs range to the benchmark running plan using given selector functions. More...
|
|
Settings & | Triple (int value1, int value2, int value3) |
| Add new parameters triple to the benchmark running plan. More...
|
|
Settings & | TripleRange (int from1, int to1, int from2, int to2, int from3, int to3) |
| Add new parameters triple range to the benchmark running plan. More...
|
|
Settings & | TripleRange (int from1, int to1, const std::function< int(int, int, int &)> &selector1, int from2, int to2, const std::function< int(int, int, int &)> &selector2, int from3, int to3, const std::function< int(int, int, int &)> &selector3) |
| Add new parameters triple range to the benchmark running plan using given selector functions. More...
|
|
Settings & | Latency (int64_t lowest, int64_t highest, int significant, bool automatic=true) |
| Set latency histogram parameters. More...
|
|
Producers/Consumers benchmark settings.
Constructs benchmark settings by providing count of operations and count of producers/consumers.
Definition at line 20 of file settings_pc.h.