Bitcoin Core  0.20.99
P2P Digital Currency
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

◆ Config() [1/3]

ankerl::nanobench::Config::Config ( )
Here is the caller graph for this function:

◆ ~Config()

ankerl::nanobench::Config::~Config ( )
Here is the caller graph for this function:

◆ Config() [2/3]

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

◆ Config() [3/3]

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

Member Function Documentation

◆ operator=() [1/2]

Config& ankerl::nanobench::Config::operator= ( Config const &  )
Here is the caller graph for this function:

◆ operator=() [2/2]

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

Member Data Documentation

◆ mBatch

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

Definition at line 362 of file nanobench.h.

◆ mBenchmarkName

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

Definition at line 360 of file nanobench.h.

◆ mBenchmarkTitle

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

Definition at line 359 of file nanobench.h.

◆ mClockResolutionMultiple

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

Definition at line 365 of file nanobench.h.

◆ mComplexityN

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

Definition at line 363 of file nanobench.h.

◆ mEpochIterations

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

Definition at line 369 of file nanobench.h.

◆ mIsRelative

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

Definition at line 373 of file nanobench.h.

◆ mMaxEpochTime

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

Definition at line 366 of file nanobench.h.

◆ mMinEpochIterations

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

Definition at line 368 of file nanobench.h.

◆ mMinEpochTime

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

Definition at line 367 of file nanobench.h.

◆ mNumEpochs

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

Definition at line 364 of file nanobench.h.

◆ mOut

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

Definition at line 371 of file nanobench.h.

◆ mShowPerformanceCounters

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

Definition at line 372 of file nanobench.h.

◆ mUnit

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

Definition at line 361 of file nanobench.h.

◆ mWarmup

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: