SLProject 4.0.000
Utils::AverageTimingBlock Struct Reference

concatenation of average value and timer More...

#include <AverageTiming.h>

Public Member Functions

 AverageTimingBlock (int averageNumValues, std::string name, int posV, int posH)
 

Public Attributes

AvgFloat val
 
std::string name
 
HighResTimer timer
 
int posV = 0
 
int posH = 0
 
int nCalls = 0
 
bool isStarted = false
 

Detailed Description

concatenation of average value and timer

Define a hierarchy by posV and posH which is used in ui to arrange the measurements. The first found content with posV==0 is used as reference measurement for the percental value.

Constructor & Destructor Documentation

◆ AverageTimingBlock()

Utils::AverageTimingBlock::AverageTimingBlock ( int  averageNumValues,
std::string  name,
int  posV,
int  posH 
)
inline

Member Data Documentation

◆ isStarted

bool Utils::AverageTimingBlock::isStarted = false

◆ name

std::string Utils::AverageTimingBlock::name

◆ nCalls

int Utils::AverageTimingBlock::nCalls = 0

◆ posH

int Utils::AverageTimingBlock::posH = 0

◆ posV

int Utils::AverageTimingBlock::posV = 0

◆ timer

HighResTimer Utils::AverageTimingBlock::timer

◆ val

AvgFloat Utils::AverageTimingBlock::val

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