Some statistics They can be build from a set of nodes. More...
Inherited by NLMISC::CHTimer::CNodeStat, and NLMISC::CHTimer::CTimerStat.
Public Member Functions | |
| void | buildFromNode (CNode *node, double msPerTick) |
| void | buildFromNodes (CNode **firstNode, uint numNodes, double msPerTick) |
| void | display (CLog *log, bool displayEx=false, bool wantStandardDeviation=false) |
| void | getStats (std::string &dest, bool statEx, double rootTotalTime, bool wantStandardDeviation=false) |
| Get a string for stats (all stats on the same line). | |
Public Attributes | |
| double | TimeStandardDeviation |
| double | TotalTime |
| double | TotalTimeWithoutSons |
| double | MeanTime |
| uint64 | NumVisits |
| double | MinTime |
| double | MaxTime |
| double | SessionMaxTime |
Some statistics They can be build from a set of nodes.
Definition at line 372 of file hierarchical_timer.h.
Definition at line 815 of file hierarchical_timer.cpp.
References buildFromNodes().
Referenced by NLMISC::CHTimer::display(), NLMISC::CHTimer::displayByExecutionPath(), NLMISC::CHTimer::displayHierarchical(), NLMISC::CHTimer::displayHierarchicalByExecutionPathSorted(), and NLMISC::CHTimer::displaySummary().
| void NLMISC::CHTimer::CStats::buildFromNodes | ( | CNode ** | firstNode, | |
| uint | numNodes, | |||
| double | msPerTick | |||
| ) |
Definition at line 821 of file hierarchical_timer.cpp.
References NLMISC::CHTimer::CNode::LastSonsTotalTime, MaxTime, MeanTime, NLMISC::CHTimer::CNode::Measures, min, MinTime, NLMISC::CHTimer::CNode::NumVisits, NumVisits, SessionMaxTime, NLMISC::sqr(), TimeStandardDeviation, NLMISC::CHTimer::CNode::TotalTime, TotalTime, and TotalTimeWithoutSons.
Referenced by buildFromNode(), and NLMISC::CHTimer::displayHierarchical().
| void NLMISC::CHTimer::CStats::display | ( | CLog * | log, | |
| bool | displayEx = false, |
|||
| bool | wantStandardDeviation = false | |||
| ) |
Definition at line 870 of file hierarchical_timer.cpp.
References NLMISC::CLog::displayRawNL(), MaxTime, MeanTime, MinTime, NumVisits, SessionMaxTime, TimeStandardDeviation, NLMISC::toString(), TotalTime, and TotalTimeWithoutSons.
| void NLMISC::CHTimer::CStats::getStats | ( | std::string & | dest, | |
| bool | statEx, | |||
| double | rootTotalTime, | |||
| bool | wantStandardDeviation = false | |||
| ) |
Get a string for stats (all stats on the same line).
| statEx | display extended stats |
Definition at line 891 of file hierarchical_timer.cpp.
References MaxTime, MeanTime, MinTime, NumVisits, SessionMaxTime, NLMISC::smprintf(), TimeStandardDeviation, NLMISC::toString(), TotalTime, and TotalTimeWithoutSons.
Referenced by NLMISC::CHTimer::displayHierarchical(), NLMISC::CHTimer::displayHierarchicalByExecutionPathSorted(), and NLMISC::CHTimer::displaySummary().
Definition at line 380 of file hierarchical_timer.h.
Referenced by buildFromNodes(), display(), getStats(), and NLMISC::CHTimer::CStatSorter::operator()().
Definition at line 377 of file hierarchical_timer.h.
Referenced by buildFromNodes(), display(), getStats(), and NLMISC::CHTimer::CStatSorter::operator()().
Definition at line 379 of file hierarchical_timer.h.
Referenced by buildFromNodes(), display(), getStats(), and NLMISC::CHTimer::CStatSorter::operator()().
Definition at line 378 of file hierarchical_timer.h.
Referenced by buildFromNodes(), display(), getStats(), and NLMISC::CHTimer::CStatSorter::operator()().
Definition at line 381 of file hierarchical_timer.h.
Referenced by buildFromNodes(), display(), getStats(), and NLMISC::CHTimer::CStatSorter::operator()().
Definition at line 374 of file hierarchical_timer.h.
Referenced by buildFromNodes(), display(), and getStats().
Definition at line 375 of file hierarchical_timer.h.
Referenced by buildFromNodes(), display(), NLMISC::CHTimer::display(), NLMISC::CHTimer::displayByExecutionPath(), NLMISC::CHTimer::displayHierarchical(), NLMISC::CHTimer::displayHierarchicalByExecutionPathSorted(), NLMISC::CHTimer::displaySummary(), getStats(), and NLMISC::CHTimer::CStatSorter::operator()().
Definition at line 376 of file hierarchical_timer.h.
Referenced by buildFromNodes(), display(), getStats(), and NLMISC::CHTimer::CStatSorter::operator()().
1.6.1