# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLMISC::CHTimer::CStats Struct Reference

Some statistics They can be build from a set of nodes. More...

Inheritance diagram for NLMISC::CHTimer::CStats:

NLMISC::CHTimer::CNodeStat NLMISC::CHTimer::CTimerStat List of all members.

Public Methods

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). More...


Public Attributes

double TimeStandardDeviation
double TotalTime
double TotalTimeWithoutSons
double MeanTime
uint64 NumVisits
double MinTime
double MaxTime

Detailed Description

Some statistics They can be build from a set of nodes.

Definition at line 336 of file hierarchical_timer.h.


Member Function Documentation

void NLMISC::CHTimer::CStats::buildFromNode CNode   node,
double    msPerTick
 

Definition at line 678 of file hierarchical_timer.cpp.

References buildFromNodes.

void NLMISC::CHTimer::CStats::buildFromNodes CNode **    firstNode,
uint    numNodes,
double    msPerTick
 

Definition at line 684 of file hierarchical_timer.cpp.

References NLAISCRIPT::l, MaxTime, MeanTime, min, MinTime, NumVisits, NLMISC::sqr, TimeStandardDeviation, TotalTime, and TotalTimeWithoutSons.

Referenced by buildFromNode.

void NLMISC::CHTimer::CStats::display CLog   log,
bool    displayEx = false,
bool    wantStandardDeviation = false
 

Definition at line 726 of file hierarchical_timer.cpp.

References MaxTime, MeanTime, MinTime, NumVisits, TimeStandardDeviation, 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).

Parameters:
statEx  display extended stats

Definition at line 746 of file hierarchical_timer.cpp.

References MaxTime, MeanTime, MinTime, NLMISC::smprintf, TimeStandardDeviation, NLMISC::toString, TotalTime, and TotalTimeWithoutSons.


Member Data Documentation

double NLMISC::CHTimer::CStats::MaxTime
 

Definition at line 344 of file hierarchical_timer.h.

Referenced by buildFromNodes, display, and getStats.

double NLMISC::CHTimer::CStats::MeanTime
 

Definition at line 341 of file hierarchical_timer.h.

Referenced by buildFromNodes, display, and getStats.

double NLMISC::CHTimer::CStats::MinTime
 

Definition at line 343 of file hierarchical_timer.h.

Referenced by buildFromNodes, display, and getStats.

uint64 NLMISC::CHTimer::CStats::NumVisits
 

Definition at line 342 of file hierarchical_timer.h.

Referenced by buildFromNodes, and display.

double NLMISC::CHTimer::CStats::TimeStandardDeviation
 

Definition at line 338 of file hierarchical_timer.h.

Referenced by buildFromNodes, display, and getStats.

double NLMISC::CHTimer::CStats::TotalTime
 

Definition at line 339 of file hierarchical_timer.h.

Referenced by buildFromNodes, display, and getStats.

double NLMISC::CHTimer::CStats::TotalTimeWithoutSons
 

Definition at line 340 of file hierarchical_timer.h.

Referenced by buildFromNodes, display, and getStats.


The documentation for this struct was generated from the following files: