Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PerformanceCounters() [2/3]

ankerl::nanobench::detail::PerformanceCounters::PerformanceCounters ( PerformanceCounters && )
delete
Here is the call graph for this function:

◆ 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
Here is the call graph for this function:

◆ ANKERL_NANOBENCH() [2/2]

ankerl::nanobench::detail::PerformanceCounters::ANKERL_NANOBENCH ( NODISCARD ) const &
noexcept
Here is the caller graph for this function:

◆ 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
Here is the call graph for this function:

◆ operator=() [2/2]

PerformanceCounters & ankerl::nanobench::detail::PerformanceCounters::operator= ( PerformanceCounters const & )
delete
Here is the call graph for this function:

◆ 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: