Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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
 
std::chrono::duration< doublemTimeUnit = std::chrono::nanoseconds{1}
 
std::string mTimeUnitName = "ns"
 
bool mShowPerformanceCounters = true
 
bool mIsRelative = false
 

Detailed Description

Definition at line 379 of file nanobench.h.

Constructor & Destructor Documentation

◆ Config() [1/3]

ankerl::nanobench::Config::Config ( )

◆ ~Config()

ankerl::nanobench::Config::~Config ( )

◆ 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 &&  )

◆ operator=() [2/2]

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

Member Data Documentation

◆ mBatch

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

Definition at line 384 of file nanobench.h.

◆ mBenchmarkName

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

Definition at line 382 of file nanobench.h.

◆ mBenchmarkTitle

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

Definition at line 381 of file nanobench.h.

◆ mClockResolutionMultiple

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

Definition at line 387 of file nanobench.h.

◆ mComplexityN

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

Definition at line 385 of file nanobench.h.

◆ mEpochIterations

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

Definition at line 391 of file nanobench.h.

◆ mIsRelative

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

Definition at line 397 of file nanobench.h.

◆ mMaxEpochTime

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

Definition at line 388 of file nanobench.h.

◆ mMinEpochIterations

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

Definition at line 390 of file nanobench.h.

◆ mMinEpochTime

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

Definition at line 389 of file nanobench.h.

◆ mNumEpochs

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

Definition at line 386 of file nanobench.h.

◆ mOut

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

Definition at line 393 of file nanobench.h.

◆ mShowPerformanceCounters

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

Definition at line 396 of file nanobench.h.

◆ mTimeUnit

std::chrono::duration<double> ankerl::nanobench::Config::mTimeUnit = std::chrono::nanoseconds{1}

Definition at line 394 of file nanobench.h.

◆ mTimeUnitName

std::string ankerl::nanobench::Config::mTimeUnitName = "ns"

Definition at line 395 of file nanobench.h.

◆ mUnit

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

Definition at line 383 of file nanobench.h.

◆ mWarmup

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

Definition at line 392 of file nanobench.h.


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