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 2572 of file catch.hpp.

Constructor & Destructor Documentation

◆ BenchmarkLooper()

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

Definition at line 2583 of file catch.hpp.

Member Function Documentation

◆ getResolution()

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

◆ increment()

void Catch::BenchmarkLooper::increment ( )
inline

Definition at line 2597 of file catch.hpp.

◆ needsMoreIterations()

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

◆ operator bool()

Catch::BenchmarkLooper::operator bool ( )
inlineexplicit

Definition at line 2591 of file catch.hpp.

◆ reportStart()

void Catch::BenchmarkLooper::reportStart ( )

Member Data Documentation

◆ m_count

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

Definition at line 2575 of file catch.hpp.

◆ m_iterationsToRun

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

Definition at line 2576 of file catch.hpp.

◆ m_name

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

Definition at line 2574 of file catch.hpp.

◆ m_resolution

uint64_t Catch::BenchmarkLooper::m_resolution
private

Definition at line 2577 of file catch.hpp.

◆ m_timer

Timer Catch::BenchmarkLooper::m_timer
private

Definition at line 2578 of file catch.hpp.


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


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:03