Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

benchmark::State Class Reference

#include <bench.h>

Public Member Functions

 State (std::string _name, duration _maxElapsed)
 
bool KeepRunning ()
 

Private Attributes

std::string name
 
duration maxElapsed
 
time_point beginTime
 
time_point lastTime
 
duration minTime
 
duration maxTime
 
uint64_t count
 
uint64_t countMask
 
uint64_t beginCycles
 
uint64_t lastCycles
 
uint64_t minCycles
 
uint64_t maxCycles
 

Detailed Description

Definition at line 50 of file bench.h.

Constructor & Destructor Documentation

◆ State()

benchmark::State::State ( std::string  _name,
duration  _maxElapsed 
)
inline

Definition at line 62 of file bench.h.

Member Function Documentation

◆ KeepRunning()

bool benchmark::State::KeepRunning ( )

Definition at line 39 of file bench.cpp.

References count, name, and perf_cpucycles().

Referenced by Base58CheckEncode(), Base58Decode(), Base58Encode(), DKG::Bench_BuildQuorumVerificationVectors(), DKG::Bench_VerifyContributionShares(), BenchLockedPool(), BenchTimeDeprecated(), BenchTimeMillis(), BenchTimeMillisSys(), BenchTimeMock(), BLSPubKeyAggregate_Normal(), BLSSecKeyAggregate_Normal(), BLSSign_Normal(), BLSVerify_Batched(), BLSVerify_BatchedParallel(), BLSVerify_LargeAggregatedBlock(), BLSVerify_LargeAggregatedBlock1000PreVerified(), BLSVerify_LargeBlock(), BLSVerify_LargeBlockSelfAggregated(), BLSVerify_Normal(), CCheckQueueSpeed(), CCheckQueueSpeedPrevectorJob(), CCoinsCaching(), CHACHA20(), CHACHA20_POLY1305_AEAD(), CoinSelection(), DeserializeAndCheckBlockTest(), DeserializeBlockTest(), ECDSASign(), ECDSAVerify(), ECDSAVerify_LargeBlock(), FastRandom_1bit(), FastRandom_32bit(), HASH(), HASH_DSHA256(), HASH_DSHA256_0032b(), HASH_DSHA256_0032b_single(), HASH_DSHA256_0080b_single(), HASH_DSHA256_0128b_single(), HASH_DSHA256_0512b_single(), HASH_DSHA256_1024b_single(), HASH_DSHA256_2048b_single(), HASH_RIPEMD160(), HASH_SHA1(), HASH_SHA256(), HASH_SHA256_0032b(), HASH_SHA256D64_1024(), HASH_SHA512(), HASH_SipHash_0032b(), HASH_X11(), HASH_X11_0032b_single(), HASH_X11_0080b_single(), HASH_X11_0128b_single(), HASH_X11_0512b_single(), HASH_X11_1024b_single(), HASH_X11_2048b_single(), int_atoi(), int_lexical_cast(), MempoolEviction(), MerkleRoot(), POLY1305(), PrevectorAssign(), PrevectorAssignTo(), PrevectorClear(), PrevectorDestructor(), PrevectorResize(), RollingBloom(), Sleep100ms(), strings_1_itostr(), strings_1_lexical_cast(), strings_1_numberToString(), strings_1_to_string(), strings_2_multi_itostr(), strings_2_multi_lexical_cast(), strings_2_multi_numberToString(), strings_2_multi_to_string(), strings_2_strptintf(), and Trig().

Member Data Documentation

◆ beginCycles

uint64_t benchmark::State::beginCycles
private

Definition at line 57 of file bench.h.

◆ beginTime

time_point benchmark::State::beginTime
private

Definition at line 53 of file bench.h.

◆ count

uint64_t benchmark::State::count
private

Definition at line 55 of file bench.h.

◆ countMask

uint64_t benchmark::State::countMask
private

Definition at line 56 of file bench.h.

◆ lastCycles

uint64_t benchmark::State::lastCycles
private

Definition at line 58 of file bench.h.

◆ lastTime

time_point benchmark::State::lastTime
private

Definition at line 53 of file bench.h.

◆ maxCycles

uint64_t benchmark::State::maxCycles
private

Definition at line 60 of file bench.h.

◆ maxElapsed

duration benchmark::State::maxElapsed
private

Definition at line 52 of file bench.h.

◆ maxTime

duration benchmark::State::maxTime
private

Definition at line 54 of file bench.h.

◆ minCycles

uint64_t benchmark::State::minCycles
private

Definition at line 59 of file bench.h.

◆ minTime

duration benchmark::State::minTime
private

Definition at line 54 of file bench.h.

◆ name

std::string benchmark::State::name
private

Definition at line 51 of file bench.h.


The documentation for this class was generated from the following files:
Released under the MIT license