Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
toolbox::bm::BenchmarkRange Class Reference

#include <toolbox/bm/Range.hpp>

Public Member Functions

 BenchmarkRange (Histogram &hist, int first, int last) noexcept
 
 ~BenchmarkRange ()
 
 BenchmarkRange (const BenchmarkRange &)=delete
 
BenchmarkRangeoperator= (const BenchmarkRange &)=delete
 
 BenchmarkRange (BenchmarkRange &&)=delete
 
BenchmarkRangeoperator= (BenchmarkRange &&)=delete
 
auto begin () const noexcept
 
auto end () const noexcept
 

Detailed Description

The BenchmarkRange class records the time elapsed during object lifetime, i.e., between construction and destruction. The elapsed time is recorded in the Histogram object during destruction.

Definition at line 34 of file Range.hpp.

Constructor & Destructor Documentation

◆ BenchmarkRange() [1/3]

toolbox::bm::BenchmarkRange::BenchmarkRange ( Histogram hist,
int  first,
int  last 
)
noexcept

Definition at line 25 of file Range.cpp.

◆ ~BenchmarkRange()

toolbox::bm::BenchmarkRange::~BenchmarkRange ( )

Definition at line 34 of file Range.cpp.

◆ BenchmarkRange() [2/3]

toolbox::bm::BenchmarkRange::BenchmarkRange ( const BenchmarkRange )
delete

◆ BenchmarkRange() [3/3]

toolbox::bm::BenchmarkRange::BenchmarkRange ( BenchmarkRange &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

BenchmarkRange & toolbox::bm::BenchmarkRange::operator= ( const BenchmarkRange )
delete

◆ operator=() [2/2]

BenchmarkRange & toolbox::bm::BenchmarkRange::operator= ( BenchmarkRange &&  )
delete

◆ begin()

auto toolbox::bm::BenchmarkRange::begin ( ) const
inlinenoexcept

Definition at line 73 of file Range.hpp.

◆ end()

auto toolbox::bm::BenchmarkRange::end ( ) const
inlinenoexcept

Definition at line 74 of file Range.hpp.

Referenced by ~BenchmarkRange().


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