SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::helper::TimerData Class Reference

Classes

class  ValData
 

Public Attributes

AdvancedTimer::IdTimer id
 
helper::vector< Recordrecords
 
int nbIter
 
int interval
 
int defaultInterval
 
AdvancedTimer::outputType timerOutputType
 
std::map< AdvancedTimer::IdStep, StepDatastepData
 
helper::vector< AdvancedTimer::IdStepsteps
 
std::map< AdvancedTimer::IdVal, ValDatavalData
 
helper::vector< AdvancedTimer::IdValvals
 

Public Member Functions

 TimerData ()
 
void init (AdvancedTimer::IdTimer id)
 
void clear ()
 
void process ()
 
void print ()
 
void print (std::ostream &result)
 
json getJson (std::string stepNumber)
 
json getLightJson (std::string stepNumber)
 
json createJSONArray (int s, json jsonObject, StepData &data)
 

Attribute details

int sofa::helper::TimerData::defaultInterval
AdvancedTimer::IdTimer sofa::helper::TimerData::id
int sofa::helper::TimerData::interval
int sofa::helper::TimerData::nbIter
helper::vector<Record> sofa::helper::TimerData::records
std::map<AdvancedTimer::IdStep, StepData> sofa::helper::TimerData::stepData
helper::vector<AdvancedTimer::IdStep> sofa::helper::TimerData::steps
AdvancedTimer::outputType sofa::helper::TimerData::timerOutputType
std::map<AdvancedTimer::IdVal, ValData> sofa::helper::TimerData::valData
helper::vector<AdvancedTimer::IdVal> sofa::helper::TimerData::vals

Constructor details

sofa::helper::TimerData::TimerData ( )
inline

Function details

void sofa::helper::TimerData::clear ( )
json sofa::helper::TimerData::createJSONArray ( int  s,
json  jsonObject,
StepData data 
)
json sofa::helper::TimerData::getJson ( std::string  stepNumber)
json sofa::helper::TimerData::getLightJson ( std::string  stepNumber)
void sofa::helper::TimerData::init ( AdvancedTimer::IdTimer  id)
inline
void sofa::helper::TimerData::print ( )
void sofa::helper::TimerData::print ( std::ostream &  result)
void sofa::helper::TimerData::process ( )