Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
Catch::BenchmarkLooper Class Reference

#include <catch.hpp>

Public Member Functions

 BenchmarkLooper (StringRef name)
 
void increment ()
 
auto needsMoreIterations () -> bool
 
 operator bool ()
 
void reportStart ()
 

Static Private Member Functions

static auto getResolution () -> uint64_t
 

Private Attributes

std::size_t m_count = 0
 
std::size_t m_iterationsToRun = 1
 
std::string m_name
 
uint64_t m_resolution
 
Timer m_timer
 

Detailed Description

Definition at line 2109 of file catch.hpp.

Constructor & Destructor Documentation

Catch::BenchmarkLooper::BenchmarkLooper ( StringRef  name)
inline

Definition at line 2120 of file catch.hpp.

Member Function Documentation

static auto Catch::BenchmarkLooper::getResolution ( ) -> uint64_t
staticprivate
void Catch::BenchmarkLooper::increment ( )
inline

Definition at line 2134 of file catch.hpp.

auto Catch::BenchmarkLooper::needsMoreIterations ( ) -> bool
Catch::BenchmarkLooper::operator bool ( )
inlineexplicit

Definition at line 2128 of file catch.hpp.

void Catch::BenchmarkLooper::reportStart ( )

Member Data Documentation

std::size_t Catch::BenchmarkLooper::m_count = 0
private

Definition at line 2112 of file catch.hpp.

std::size_t Catch::BenchmarkLooper::m_iterationsToRun = 1
private

Definition at line 2113 of file catch.hpp.

std::string Catch::BenchmarkLooper::m_name
private

Definition at line 2111 of file catch.hpp.

uint64_t Catch::BenchmarkLooper::m_resolution
private

Definition at line 2114 of file catch.hpp.

Timer Catch::BenchmarkLooper::m_timer
private

Definition at line 2115 of file catch.hpp.


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


catch_ros
Author(s): Max Schwarz
autogenerated on Thu Jan 14 2021 03:32:26