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

#include <toolbox/bm/Record.hpp>

Public Member Functions

 BenchmarkRecord (Histogram &hist, int count=1) noexcept
 
 ~BenchmarkRecord ()
 
 BenchmarkRecord (const BenchmarkRecord &)=delete
 
BenchmarkRecordoperator= (const BenchmarkRecord &)=delete
 
 BenchmarkRecord (BenchmarkRecord &&)=delete
 
BenchmarkRecordoperator= (BenchmarkRecord &&)=delete
 

Detailed Description

The BenchmarkRecord 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 Record.hpp.

Constructor & Destructor Documentation

◆ BenchmarkRecord() [1/3]

toolbox::bm::BenchmarkRecord::BenchmarkRecord ( Histogram hist,
int  count = 1 
)
noexcept

Definition at line 25 of file Record.cpp.

◆ ~BenchmarkRecord()

toolbox::bm::BenchmarkRecord::~BenchmarkRecord ( )

Definition at line 33 of file Record.cpp.

◆ BenchmarkRecord() [2/3]

toolbox::bm::BenchmarkRecord::BenchmarkRecord ( const BenchmarkRecord )
delete

◆ BenchmarkRecord() [3/3]

toolbox::bm::BenchmarkRecord::BenchmarkRecord ( BenchmarkRecord &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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