Image Component Library (ICL)
Public Member Functions | Private Attributes | List of all members
icl::utils::StackTimer::StackTimerNotifier Class Reference

StackTimerNotifier constructor, USE BENCHMARK_THIS_FUNCTION-MACRO instead. More...

#include <StackTimer.h>

Public Member Functions

 StackTimerNotifier (const char *functionname, bool writeCounts=true, bool writeAvg=true, bool writeMin=true, bool writeMax=true)
 
std::string getTimeStr (long int l)
 
 ~StackTimerNotifier ()
 StackTimerNotifier destructor, USE BENCHMARK_THIS_FUNCTION-MACRO instead. More...
 
void incCount ()
 increments the execution counter, USE BENCHMARK_THIS_FUNCTION-MACRO instead More...
 
void incTime (long int dt)
 adds execution time, USE BENCHMARK_THIS_FUNCTION-MACRO instead More...
 

Private Attributes

long int m_liCount
 
long int m_liTime
 
long int m_liMaxTime
 
long int m_liMinTime
 
std::string m_sFunctionName
 
bool m_bWriteCounts
 
bool m_bWriteAvg
 
bool m_bWriteMin
 
bool m_bWriteMax
 

Detailed Description

StackTimerNotifier constructor, USE BENCHMARK_THIS_FUNCTION-MACRO instead.

Constructor & Destructor Documentation

◆ StackTimerNotifier()

icl::utils::StackTimer::StackTimerNotifier::StackTimerNotifier ( const char *  functionname,
bool  writeCounts = true,
bool  writeAvg = true,
bool  writeMin = true,
bool  writeMax = true 
)
inline

◆ ~StackTimerNotifier()

icl::utils::StackTimer::StackTimerNotifier::~StackTimerNotifier ( )
inline

StackTimerNotifier destructor, USE BENCHMARK_THIS_FUNCTION-MACRO instead.

Member Function Documentation

◆ getTimeStr()

std::string icl::utils::StackTimer::StackTimerNotifier::getTimeStr ( long int  l)
inline

◆ incCount()

void icl::utils::StackTimer::StackTimerNotifier::incCount ( )
inline

increments the execution counter, USE BENCHMARK_THIS_FUNCTION-MACRO instead

◆ incTime()

void icl::utils::StackTimer::StackTimerNotifier::incTime ( long int  dt)
inline

adds execution time, USE BENCHMARK_THIS_FUNCTION-MACRO instead

Member Data Documentation

◆ m_bWriteAvg

bool icl::utils::StackTimer::StackTimerNotifier::m_bWriteAvg
private

◆ m_bWriteCounts

bool icl::utils::StackTimer::StackTimerNotifier::m_bWriteCounts
private

◆ m_bWriteMax

bool icl::utils::StackTimer::StackTimerNotifier::m_bWriteMax
private

◆ m_bWriteMin

bool icl::utils::StackTimer::StackTimerNotifier::m_bWriteMin
private

◆ m_liCount

long int icl::utils::StackTimer::StackTimerNotifier::m_liCount
private

◆ m_liMaxTime

long int icl::utils::StackTimer::StackTimerNotifier::m_liMaxTime
private

◆ m_liMinTime

long int icl::utils::StackTimer::StackTimerNotifier::m_liMinTime
private

◆ m_liTime

long int icl::utils::StackTimer::StackTimerNotifier::m_liTime
private

◆ m_sFunctionName

std::string icl::utils::StackTimer::StackTimerNotifier::m_sFunctionName
private

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