SOFA API  1a4bb3e7
Open source framework for multi-physics simuation
sofa::gui::qt::SofaWindowProfiler::AnimationStepData Class Reference

#include <SofaWindowProfiler.h>

The AnimationStepData internal class to store all info of a animation step recorded by AdvancedTimer Data stored/computed will be the step number, and the total time in ms of the step. All Data will then be stored inside a tree of. More...

Detailed Description

The AnimationStepData internal class to store all info of a animation step recorded by AdvancedTimer Data stored/computed will be the step number, and the total time in ms of the step. All Data will then be stored inside a tree of.

See also
AnimationSubStepData tree.

Public Attributes

int m_stepIteration
 
SReal m_totalMs
 
SReal m_selfMs {}
 Difference between the total time and the time of all children. More...
 
SReal m_selfPercent {}
 Difference between the total time and the time of all children as a percentage. More...
 
std::string m_idString
 Name of the timer. More...
 
sofa::type::vector< AnimationSubStepData * > m_subSteps
 
SReal m_overheadMs
 The overhead due to timers processing. In milliseconds. More...
 
unsigned int m_totalTimers {}
 Total number of timers in this step. More...
 

Public Member Functions

 AnimationStepData ()
 
 AnimationStepData (int step, const std::string &idString)
 
SReal getStepMs (const std::string &stepName, const std::string &parentName)
 
virtual ~AnimationStepData ()
 

Protected Member Functions

bool processData (const std::string &idString)
 

Attribute details

◆ m_idString

std::string sofa::gui::qt::SofaWindowProfiler::AnimationStepData::m_idString

Name of the timer.

◆ m_overheadMs

SReal sofa::gui::qt::SofaWindowProfiler::AnimationStepData::m_overheadMs

The overhead due to timers processing. In milliseconds.

◆ m_selfMs

SReal sofa::gui::qt::SofaWindowProfiler::AnimationStepData::m_selfMs {}

Difference between the total time and the time of all children.

◆ m_selfPercent

SReal sofa::gui::qt::SofaWindowProfiler::AnimationStepData::m_selfPercent {}

Difference between the total time and the time of all children as a percentage.

◆ m_stepIteration

int sofa::gui::qt::SofaWindowProfiler::AnimationStepData::m_stepIteration

◆ m_subSteps

sofa::type::vector<AnimationSubStepData*> sofa::gui::qt::SofaWindowProfiler::AnimationStepData::m_subSteps

◆ m_totalMs

SReal sofa::gui::qt::SofaWindowProfiler::AnimationStepData::m_totalMs

◆ m_totalTimers

unsigned int sofa::gui::qt::SofaWindowProfiler::AnimationStepData::m_totalTimers {}

Total number of timers in this step.

Constructor details

◆ AnimationStepData() [1/2]

sofa::gui::qt::SofaWindowProfiler::AnimationStepData::AnimationStepData ( )
inline

◆ AnimationStepData() [2/2]

sofa::gui::qt::SofaWindowProfiler::AnimationStepData::AnimationStepData ( int  step,
const std::string &  idString 
)

◆ ~AnimationStepData()

sofa::gui::qt::SofaWindowProfiler::AnimationStepData::~AnimationStepData ( )
virtual

Function details

◆ getStepMs()

SReal sofa::gui::qt::SofaWindowProfiler::AnimationStepData::getStepMs ( const std::string &  stepName,
const std::string &  parentName 
)

◆ processData()

bool sofa::gui::qt::SofaWindowProfiler::AnimationStepData::processData ( const std::string &  idString)
protected