Bitcoin Core  0.21.1
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
Public Member Functions | Public Attributes | List of all members
ankerl::nanobench::Config Struct Reference

#include <nanobench.h>

Public Member Functions

 Config ()
 
 ~Config ()
 
Configoperator= (Config const &)
 
Configoperator= (Config &&)
 
 Config (Config const &)
 
 Config (Config &&) 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 {}
 
uint64_t mMinEpochIterations {1}
 
uint64_t mEpochIterations {0}
 
uint64_t mWarmup = 0
 
std::ostream * mOut = nullptr
 
bool mShowPerformanceCounters = true
 
bool mIsRelative = false
 

Detailed Description

Definition at line 357 of file nanobench.h.

Constructor & Destructor Documentation

ankerl::nanobench::Config::Config ( )
ankerl::nanobench::Config::~Config ( )
ankerl::nanobench::Config::Config ( Config const &  )
ankerl::nanobench::Config::Config ( Config &&  )
noexcept

Member Function Documentation

Config& ankerl::nanobench::Config::operator= ( Config const &  )
Config& ankerl::nanobench::Config::operator= ( Config &&  )

Member Data Documentation

double ankerl::nanobench::Config::mBatch = 1.0

Definition at line 362 of file nanobench.h.

std::string ankerl::nanobench::Config::mBenchmarkName = "noname"

Definition at line 360 of file nanobench.h.

std::string ankerl::nanobench::Config::mBenchmarkTitle = "benchmark"

Definition at line 359 of file nanobench.h.

size_t ankerl::nanobench::Config::mClockResolutionMultiple = static_cast<size_t>(1000)

Definition at line 365 of file nanobench.h.

double ankerl::nanobench::Config::mComplexityN = -1.0

Definition at line 363 of file nanobench.h.

uint64_t ankerl::nanobench::Config::mEpochIterations {0}

Definition at line 369 of file nanobench.h.

bool ankerl::nanobench::Config::mIsRelative = false

Definition at line 373 of file nanobench.h.

std::chrono::nanoseconds ankerl::nanobench::Config::mMaxEpochTime = std::chrono::milliseconds(100)

Definition at line 366 of file nanobench.h.

uint64_t ankerl::nanobench::Config::mMinEpochIterations {1}

Definition at line 368 of file nanobench.h.

std::chrono::nanoseconds ankerl::nanobench::Config::mMinEpochTime {}

Definition at line 367 of file nanobench.h.

size_t ankerl::nanobench::Config::mNumEpochs = 11

Definition at line 364 of file nanobench.h.

std::ostream* ankerl::nanobench::Config::mOut = nullptr

Definition at line 371 of file nanobench.h.

bool ankerl::nanobench::Config::mShowPerformanceCounters = true

Definition at line 372 of file nanobench.h.

std::string ankerl::nanobench::Config::mUnit = "op"

Definition at line 361 of file nanobench.h.

uint64_t ankerl::nanobench::Config::mWarmup = 0

Definition at line 370 of file nanobench.h.


The documentation for this struct was generated from the following file: