![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
#include <nanobench.h>
Public Member Functions | |
| Config () | |
| ~Config () | |
| Config & | operator= (Config const &other) |
| Config & | operator= (Config &&other) noexcept(ANKERL_NANOBENCH(NOEXCEPT_STRING_MOVE)) |
| Config (Config const &other) | |
| Config (Config &&other) noexcept | |
Public Attributes | |
| std::string | mBenchmarkTitle = "benchmark" |
| std::string | mBenchmarkName = "noname" |
| std::string | mUnit = "op" |
| double | mBatch = 1.0 |
| double | mComplexityN = -1.0 |
| size_t | mNumEpochs = 11 |
| size_t | mClockResolutionMultiple = static_cast<size_t>(1000) |
| std::chrono::nanoseconds | mMaxEpochTime = std::chrono::milliseconds(100) |
| std::chrono::nanoseconds | mMinEpochTime = std::chrono::milliseconds(1) |
| uint64_t | mMinEpochIterations {1} |
| uint64_t | mEpochIterations {0} |
| uint64_t | mWarmup = 0 |
| std::ostream * | mOut = nullptr |
| std::chrono::duration< double > | mTimeUnit = std::chrono::nanoseconds{1} |
| std::string | mTimeUnitName = "ns" |
| bool | mShowPerformanceCounters = true |
| bool | mIsRelative = false |
| std::unordered_map< std::string, std::string > | mContext {} |
Definition at line 386 of file nanobench.h.
| ankerl::nanobench::Config::Config | ( | ) |
| ankerl::nanobench::Config::~Config | ( | ) |
| ankerl::nanobench::Config::Config | ( | Config const & | other | ) |
|
noexcept |
| double ankerl::nanobench::Config::mBatch = 1.0 |
Definition at line 391 of file nanobench.h.
| std::string ankerl::nanobench::Config::mBenchmarkName = "noname" |
Definition at line 389 of file nanobench.h.
| std::string ankerl::nanobench::Config::mBenchmarkTitle = "benchmark" |
Definition at line 388 of file nanobench.h.
| size_t ankerl::nanobench::Config::mClockResolutionMultiple = static_cast<size_t>(1000) |
Definition at line 394 of file nanobench.h.
| double ankerl::nanobench::Config::mComplexityN = -1.0 |
Definition at line 392 of file nanobench.h.
| std::unordered_map<std::string, std::string> ankerl::nanobench::Config::mContext {} |
Definition at line 406 of file nanobench.h.
| uint64_t ankerl::nanobench::Config::mEpochIterations {0} |
Definition at line 399 of file nanobench.h.
| bool ankerl::nanobench::Config::mIsRelative = false |
Definition at line 405 of file nanobench.h.
| std::chrono::nanoseconds ankerl::nanobench::Config::mMaxEpochTime = std::chrono::milliseconds(100) |
Definition at line 395 of file nanobench.h.
| uint64_t ankerl::nanobench::Config::mMinEpochIterations {1} |
Definition at line 397 of file nanobench.h.
| std::chrono::nanoseconds ankerl::nanobench::Config::mMinEpochTime = std::chrono::milliseconds(1) |
Definition at line 396 of file nanobench.h.
| size_t ankerl::nanobench::Config::mNumEpochs = 11 |
Definition at line 393 of file nanobench.h.
| std::ostream* ankerl::nanobench::Config::mOut = nullptr |
Definition at line 401 of file nanobench.h.
| bool ankerl::nanobench::Config::mShowPerformanceCounters = true |
Definition at line 404 of file nanobench.h.
| std::chrono::duration<double> ankerl::nanobench::Config::mTimeUnit = std::chrono::nanoseconds{1} |
Definition at line 402 of file nanobench.h.
| std::string ankerl::nanobench::Config::mTimeUnitName = "ns" |
Definition at line 403 of file nanobench.h.
| std::string ankerl::nanobench::Config::mUnit = "op" |
Definition at line 390 of file nanobench.h.
| uint64_t ankerl::nanobench::Config::mWarmup = 0 |
Definition at line 400 of file nanobench.h.