Definition at line 286 of file hierarchical_timer.h.
Public Types | |
| typedef std::vector< double > | TTimeVect |
Public Member Functions | |
| CNode (CHTimer *owner=NULL, CNode *parent=NULL) | |
| void | displayPath (CLog *log) const |
| uint | getNumNodes () const |
| void | getPath (std::string &dest) const |
| void | releaseSons () |
| void | reset () |
| ~CNode () | |
Data Fields | |
| CSimpleClock | Clock |
| uint64 | LastSonsTotalTime |
| uint64 | MaxTime |
| TTimeVect | Measures |
| uint64 | MinTime |
| uint64 | NumVisits |
| CHTimer * | Owner |
| CNode * | Parent |
| TNodeVect | Sons |
| uint64 | SonsPreambule |
| uint64 | SonsTotalTime |
| uint64 | TotalTime |
|
|
Definition at line 288 of file hierarchical_timer.h. |
|
||||||||||||
|
Definition at line 304 of file hierarchical_timer.h. References reset().
|
|
|
Do simple statistics on a list of values (mean value, standard deviation) Definition at line 118 of file hierarchical_timer.cpp. References releaseSons(), and uint.
00119 {
00120 releaseSons();
00121 for(uint k = 0; k < Sons.size(); ++k)
00122 delete Sons[k];
00123 }
|
|
|
Definition at line 134 of file hierarchical_timer.cpp. References NLMISC::CLog::displayRawNL(), and getPath().
00135 {
00136 std::string path;
00137 getPath(path);
00138 log->displayRawNL(("HTIMER: " + path).c_str());
00139 }
|
|
|
Definition at line 157 of file hierarchical_timer.cpp. References uint. Referenced by NLMISC::CHTimer::displayByExecutionPath().
|
|
|
Definition at line 142 of file hierarchical_timer.cpp. References NLMISC::CHTimer::getName(), Owner, and Parent. Referenced by displayPath().
|
|
|
Definition at line 126 of file hierarchical_timer.cpp. References uint. Referenced by ~CNode().
|
|
|
Definition at line 315 of file hierarchical_timer.h. References NLMISC::contReset(), LastSonsTotalTime, MaxTime, Measures, MinTime, NumVisits, SonsPreambule, SonsTotalTime, TotalTime, and uint64. Referenced by NLMISC::CHTimer::clear(), and CNode().
00316 {
00317 SonsTotalTime = 0;
00318 TotalTime = 0;
00319 MaxTime = 0;
00320 MinTime = (uint64) -1;
00321 NumVisits = 0;
00322 SonsPreambule = 0;
00323 LastSonsTotalTime = 0;
00324 NLMISC::contReset(Measures);
00325 }
|
|
|
Definition at line 302 of file hierarchical_timer.h. Referenced by NLMISC::CHTimer::doAfter(), and NLMISC::CHTimer::doBefore(). |
|
|
Definition at line 294 of file hierarchical_timer.h. Referenced by NLMISC::CHTimer::CStats::buildFromNodes(), NLMISC::CHTimer::doAfter(), and reset(). |
|
|
Definition at line 298 of file hierarchical_timer.h. Referenced by NLMISC::CHTimer::doAfter(), and reset(). |
|
|
Definition at line 296 of file hierarchical_timer.h. Referenced by NLMISC::CHTimer::CStats::buildFromNodes(), NLMISC::CHTimer::doAfter(), and reset(). |
|
|
Definition at line 297 of file hierarchical_timer.h. Referenced by NLMISC::CHTimer::doAfter(), and reset(). |
|
|
Definition at line 299 of file hierarchical_timer.h. Referenced by NLMISC::CHTimer::CStats::buildFromNodes(), NLMISC::CHTimer::doAfter(), NLMISC::CHTimer::doBefore(), and reset(). |
|
|
|
Definition at line 290 of file hierarchical_timer.h. Referenced by NLMISC::CHTimer::doAfter(), NLMISC::CHTimer::doBefore(), and getPath(). |
|
|
|
|
Definition at line 295 of file hierarchical_timer.h. Referenced by NLMISC::CHTimer::doAfter(), NLMISC::CHTimer::estimateAfterStopTime(), and reset(). |
|
|
Definition at line 293 of file hierarchical_timer.h. Referenced by NLMISC::CHTimer::CStats::buildFromNodes(), NLMISC::CHTimer::doAfter(), NLMISC::CHTimer::estimateAfterStopTime(), and reset(). |
1.3.6