Bitcoin Core  0.20.99
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
 
PerformanceCountersoperator= (PerformanceCounters const &)=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 988 of file nanobench.h.

Constructor & Destructor Documentation

◆ PerformanceCounters() [1/2]

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

◆ PerformanceCounters() [2/2]

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=()

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 1008 of file nanobench.h.

◆ mVal

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

Definition at line 1007 of file nanobench.h.


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