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

#include <toolbox/bm/Context.hpp>

Public Member Functions

 Context (Histogram &hist)
 
 ~Context ()=default
 
 Context (const Context &)=delete
 
Contextoperator= (const Context &)=delete
 
 Context (Context &&)=delete
 
Contextoperator= (Context &&)=delete
 
 operator bool () const noexcept
 
BenchmarkRange range (int first, int last) const noexcept
 
BenchmarkRange range (int count) const noexcept
 
void stop () noexcept
 

Detailed Description

Definition at line 24 of file Context.hpp.

Constructor & Destructor Documentation

◆ Context() [1/3]

toolbox::bm::Context::Context ( Histogram hist)
inlineexplicit

Definition at line 26 of file Context.hpp.

◆ ~Context()

toolbox::bm::Context::~Context ( )
default

◆ Context() [2/3]

toolbox::bm::Context::Context ( const Context )
delete

◆ Context() [3/3]

toolbox::bm::Context::Context ( Context &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator bool()

toolbox::bm::Context::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 40 of file Context.hpp.

◆ range() [1/2]

BenchmarkRange toolbox::bm::Context::range ( int  first,
int  last 
) const
inlinenoexcept

Definition at line 41 of file Context.hpp.

◆ range() [2/2]

BenchmarkRange toolbox::bm::Context::range ( int  count) const
inlinenoexcept

Definition at line 42 of file Context.hpp.

◆ stop()

void toolbox::bm::Context::stop ( )
inlinenoexcept

Definition at line 44 of file Context.hpp.


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