a node in an execution path More...
Public Types | |
| typedef std::vector< double > | TTimeVect |
Public Member Functions | |
| CNode (CHTimer *owner=NULL, CNode *parent=NULL) | |
| ~CNode () | |
| Do simple statistics on a list of values (mean value, standard deviation). | |
| uint | getNumNodes () const |
| void | releaseSons () |
| void | reset () |
| void | displayPath (CLog *log) const |
| void | getPath (std::string &dest) const |
| void | resetSessionCurrent () |
| void | resetSessionStats () |
| void | spreadSession () |
Public Attributes | |
| CNode * | Parent |
| TNodeVect | Sons |
| CHTimer * | Owner |
| uint64 | TotalTime |
| uint64 | LastSonsTotalTime |
| uint64 | SonsTotalTime |
| TTimeVect | Measures |
| uint64 | MinTime |
| uint64 | MaxTime |
| uint64 | NumVisits |
| uint64 | SessionCurrent |
| uint64 | SessionMax |
| uint64 | SonsPreambule |
| CSimpleClock | Clock |
a node in an execution path
Definition at line 294 of file hierarchical_timer.h.
| typedef std::vector<double> NLMISC::CHTimer::CNode::TTimeVect |
Definition at line 296 of file hierarchical_timer.h.
Definition at line 315 of file hierarchical_timer.h.
References reset().
| NLMISC::CHTimer::CNode::~CNode | ( | ) |
Do simple statistics on a list of values (mean value, standard deviation).
Definition at line 116 of file hierarchical_timer.cpp.
References releaseSons(), and Sons.
| void NLMISC::CHTimer::CNode::displayPath | ( | CLog * | log | ) | const |
Definition at line 132 of file hierarchical_timer.cpp.
References NLMISC::CLog::displayRawNL(), and getPath().
| uint NLMISC::CHTimer::CNode::getNumNodes | ( | ) | const |
Definition at line 155 of file hierarchical_timer.cpp.
References Sons.
Referenced by NLMISC::CHTimer::displayByExecutionPath().
| void NLMISC::CHTimer::CNode::getPath | ( | std::string & | dest | ) | const |
Definition at line 140 of file hierarchical_timer.cpp.
References NLMISC::CHTimer::getName(), Owner, and Parent.
Referenced by displayPath().
| void NLMISC::CHTimer::CNode::releaseSons | ( | ) |
Definition at line 124 of file hierarchical_timer.cpp.
References Sons.
Referenced by NLMISC::CHTimer::clear(), and ~CNode().
| void NLMISC::CHTimer::CNode::reset | ( | ) | [inline] |
Definition at line 326 of file hierarchical_timer.h.
References NLMISC::contReset(), LastSonsTotalTime, MaxTime, Measures, MinTime, NumVisits, SessionCurrent, SessionMax, SonsPreambule, SonsTotalTime, and TotalTime.
Referenced by NLMISC::CHTimer::clear(), and CNode().
| void NLMISC::CHTimer::CNode::resetSessionCurrent | ( | ) | [inline] |
Definition at line 346 of file hierarchical_timer.h.
References SessionCurrent, and Sons.
Referenced by NLMISC::CHTimer::clearSessionCurrent().
| void NLMISC::CHTimer::CNode::resetSessionStats | ( | ) | [inline] |
Definition at line 353 of file hierarchical_timer.h.
References SessionCurrent, SessionMax, and Sons.
Referenced by NLMISC::CHTimer::clearSessionStats().
| void NLMISC::CHTimer::CNode::spreadSession | ( | ) | [inline] |
Definition at line 361 of file hierarchical_timer.h.
References SessionCurrent, SessionMax, and Sons.
Referenced by NLMISC::CHTimer::updateSessionStats().
Definition at line 313 of file hierarchical_timer.h.
Referenced by NLMISC::CHTimer::doAfter(), and NLMISC::CHTimer::doBefore().
Definition at line 302 of file hierarchical_timer.h.
Referenced by NLMISC::CHTimer::CStats::buildFromNodes(), NLMISC::CHTimer::doAfter(), and reset().
Definition at line 306 of file hierarchical_timer.h.
Referenced by NLMISC::CHTimer::doAfter(), and reset().
Definition at line 304 of file hierarchical_timer.h.
Referenced by NLMISC::CHTimer::CStats::buildFromNodes(), NLMISC::CHTimer::doAfter(), and reset().
Definition at line 305 of file hierarchical_timer.h.
Referenced by NLMISC::CHTimer::doAfter(), and reset().
Definition at line 307 of file hierarchical_timer.h.
Referenced by NLMISC::CHTimer::CStats::buildFromNodes(), NLMISC::CHTimer::doAfter(), NLMISC::CHTimer::doBefore(), and reset().
Definition at line 300 of file hierarchical_timer.h.
Referenced by NLMISC::CHTimer::display(), NLMISC::CHTimer::displayHierarchical(), NLMISC::CHTimer::displayHierarchicalByExecutionPathSorted(), NLMISC::CHTimer::displaySummary(), NLMISC::CHTimer::estimateAfterStopTime(), getPath(), and NLMISC::CHTimer::startBench().
Definition at line 298 of file hierarchical_timer.h.
Referenced by NLMISC::CHTimer::doAfter(), NLMISC::CHTimer::doBefore(), and getPath().
Definition at line 309 of file hierarchical_timer.h.
Referenced by NLMISC::CHTimer::doAfter(), reset(), resetSessionCurrent(), resetSessionStats(), spreadSession(), and NLMISC::CHTimer::updateSessionStats().
Definition at line 310 of file hierarchical_timer.h.
Referenced by reset(), resetSessionStats(), spreadSession(), and NLMISC::CHTimer::updateSessionStats().
Definition at line 299 of file hierarchical_timer.h.
Referenced by NLMISC::CHTimer::display(), NLMISC::CHTimer::displayByExecutionPath(), NLMISC::CHTimer::displayHierarchical(), NLMISC::CHTimer::displayHierarchicalByExecutionPathSorted(), NLMISC::CHTimer::displaySummary(), getNumNodes(), releaseSons(), resetSessionCurrent(), resetSessionStats(), spreadSession(), NLMISC::CHTimer::walkTreeToCurrent(), and ~CNode().
Definition at line 312 of file hierarchical_timer.h.
Referenced by NLMISC::CHTimer::display(), NLMISC::CHTimer::displayByExecutionPath(), NLMISC::CHTimer::displayHierarchical(), NLMISC::CHTimer::displayHierarchicalByExecutionPathSorted(), NLMISC::CHTimer::displaySummary(), NLMISC::CHTimer::doAfter(), NLMISC::CHTimer::doBefore(), and reset().
Definition at line 303 of file hierarchical_timer.h.
Referenced by NLMISC::CHTimer::doAfter(), NLMISC::CHTimer::estimateAfterStopTime(), and reset().
Definition at line 301 of file hierarchical_timer.h.
Referenced by NLMISC::CHTimer::CStats::buildFromNodes(), NLMISC::CHTimer::doAfter(), NLMISC::CHTimer::estimateAfterStopTime(), and reset().
1.6.1