Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
ankerl::nanobench::detail::PerformanceCounters Class Reference

#include <nanobench.h>

Collaboration diagram for ankerl::nanobench::detail::PerformanceCounters:
[legend]

Public Member Functions

 PerformanceCounters (PerformanceCounters const &)=delete
 
 PerformanceCounters (PerformanceCounters &&)=delete
 
PerformanceCountersoperator= (PerformanceCounters const &)=delete
 
PerformanceCountersoperator= (PerformanceCounters &&)=delete
 
 PerformanceCounters ()
 
 ~PerformanceCounters ()
 
void beginMeasure ()
 
void endMeasure ()
 
void updateResults (uint64_t numIters)
 
 ANKERL_NANOBENCH (NODISCARD) PerfCountSet< uint64_t > const &val() const noexcept
 
 ANKERL_NANOBENCH (NODISCARD) PerfCountSet< bool > const &has() const noexcept
 

Private Attributes

PerfCountSet< uint64_t > mVal {}
 
PerfCountSet< bool > mHas {}
 

Detailed Description

Definition at line 1080 of file nanobench.h.

Constructor & Destructor Documentation

◆ PerformanceCounters() [1/3]

ankerl::nanobench::detail::PerformanceCounters::PerformanceCounters ( PerformanceCounters const &  )
delete

◆ PerformanceCounters() [2/3]

ankerl::nanobench::detail::PerformanceCounters::PerformanceCounters ( PerformanceCounters &&  )
delete

◆ PerformanceCounters() [3/3]

ankerl::nanobench::detail::PerformanceCounters::PerformanceCounters ( )

◆ ~PerformanceCounters()

ankerl::nanobench::detail::PerformanceCounters::~PerformanceCounters ( )

Member Function Documentation

◆ ANKERL_NANOBENCH() [1/2]

ankerl::nanobench::detail::PerformanceCounters::ANKERL_NANOBENCH ( NODISCARD  ) const &
noexcept

◆ ANKERL_NANOBENCH() [2/2]

ankerl::nanobench::detail::PerformanceCounters::ANKERL_NANOBENCH ( NODISCARD  ) const &
noexcept

◆ beginMeasure()

void ankerl::nanobench::detail::PerformanceCounters::beginMeasure ( )

◆ endMeasure()

void ankerl::nanobench::detail::PerformanceCounters::endMeasure ( )

◆ operator=() [1/2]

PerformanceCounters & ankerl::nanobench::detail::PerformanceCounters::operator= ( PerformanceCounters &&  )
delete

◆ operator=() [2/2]

PerformanceCounters & ankerl::nanobench::detail::PerformanceCounters::operator= ( PerformanceCounters const &  )
delete

◆ updateResults()

void ankerl::nanobench::detail::PerformanceCounters::updateResults ( uint64_t  numIters)

Member Data Documentation

◆ mHas

PerfCountSet<bool> ankerl::nanobench::detail::PerformanceCounters::mHas {}
private

Definition at line 1102 of file nanobench.h.

◆ mVal

PerfCountSet<uint64_t> ankerl::nanobench::detail::PerformanceCounters::mVal {}
private

Definition at line 1101 of file nanobench.h.


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