# 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::CNode Struct Reference

a node in an execution path. More...

List of all members.

Public Types

typedef std::vector< double > TTimeVect

Public Methods

 CNode (CHTimer *owner=NULL, CNode *parent=NULL)
 ~CNode ()
 Do simple statistics on a list of values (mean value, standard deviation). More...

uint getNumNodes () const
void releaseSons ()
void reset ()
void displayPath (CLog *log) const
void getPath (std::string &dest) const

Public Attributes

CNode * Parent
TNodeVect Sons
CHTimerOwner
uint64 TotalTime
uint64 LastSonsTotalTime
uint64 SonsTotalTime
TTimeVect Measures
uint64 MinTime
uint64 MaxTime
uint64 NumVisits
uint64 SonsPreambule
CSimpleClock Clock


Detailed Description

a node in an execution path.

Definition at line 287 of file hierarchical_timer.h.


Member Typedef Documentation

typedef std::vector<double> NLMISC::CHTimer::CNode::TTimeVect
 

Definition at line 289 of file hierarchical_timer.h.


Constructor & Destructor Documentation

NLMISC::CHTimer::CNode::CNode CHTimer   owner = NULL,
CNode *    parent = NULL
[inline]
 

Definition at line 305 of file hierarchical_timer.h.

References NLMISC::CHTimer::CHTimer.

Referenced by getPath.

NLMISC::CHTimer::CNode::~CNode  
 

Do simple statistics on a list of values (mean value, standard deviation).

Definition at line 115 of file hierarchical_timer.cpp.

References releaseSons, and Sons.


Member Function Documentation

void NLMISC::CHTimer::CNode::displayPath CLog   log const
 

Definition at line 131 of file hierarchical_timer.cpp.

References getPath.

uint NLMISC::CHTimer::CNode::getNumNodes   const
 

Definition at line 154 of file hierarchical_timer.cpp.

References Sons.

Referenced by NLMISC::CHTimer::displayByExecutionPath.

void NLMISC::CHTimer::CNode::getPath std::string &    dest const
 

Definition at line 139 of file hierarchical_timer.cpp.

References CNode.

Referenced by displayPath.

void NLMISC::CHTimer::CNode::releaseSons  
 

Definition at line 123 of file hierarchical_timer.cpp.

References Sons.

Referenced by NLMISC::CHTimer::clear, and ~CNode.

void NLMISC::CHTimer::CNode::reset   [inline]
 

Definition at line 316 of file hierarchical_timer.h.

References NLMISC::contReset, NLMISC::CHTimer::MaxTime, NLMISC::CHTimer::MinTime, NLMISC::CHTimer::NumVisits, and NLMISC::CHTimer::TotalTime.

Referenced by NLMISC::CHTimer::clear.


Member Data Documentation

CSimpleClock NLMISC::CHTimer::CNode::Clock
 

Definition at line 303 of file hierarchical_timer.h.

Referenced by NLMISC::CHTimer::after, and NLMISC::CHTimer::before.

uint64 NLMISC::CHTimer::CNode::LastSonsTotalTime
 

Definition at line 295 of file hierarchical_timer.h.

Referenced by NLMISC::CHTimer::after.

uint64 NLMISC::CHTimer::CNode::MaxTime
 

Definition at line 299 of file hierarchical_timer.h.

Referenced by NLMISC::CHTimer::after.

TTimeVect NLMISC::CHTimer::CNode::Measures
 

Definition at line 297 of file hierarchical_timer.h.

Referenced by NLMISC::CHTimer::after.

uint64 NLMISC::CHTimer::CNode::MinTime
 

Definition at line 298 of file hierarchical_timer.h.

Referenced by NLMISC::CHTimer::after.

uint64 NLMISC::CHTimer::CNode::NumVisits
 

Definition at line 300 of file hierarchical_timer.h.

Referenced by NLMISC::CHTimer::after, and NLMISC::CHTimer::before.

CHTimer* NLMISC::CHTimer::CNode::Owner
 

Definition at line 293 of file hierarchical_timer.h.

Referenced by NLMISC::CHTimer::startBench.

CNode* NLMISC::CHTimer::CNode::Parent
 

Definition at line 291 of file hierarchical_timer.h.

Referenced by NLMISC::CHTimer::after, and NLMISC::CHTimer::before.

TNodeVect NLMISC::CHTimer::CNode::Sons
 

Definition at line 292 of file hierarchical_timer.h.

Referenced by getNumNodes, releaseSons, NLMISC::CHTimer::walkTreeToCurrent, and ~CNode.

uint64 NLMISC::CHTimer::CNode::SonsPreambule
 

Definition at line 302 of file hierarchical_timer.h.

Referenced by NLMISC::CHTimer::after, NLMISC::CHTimer::before, NLMISC::CHTimer::display, NLMISC::CHTimer::displayByExecutionPath, NLMISC::CHTimer::displayHierarchical, and NLMISC::CHTimer::displayHierarchicalByExecutionPathSorted.

uint64 NLMISC::CHTimer::CNode::SonsTotalTime
 

Definition at line 296 of file hierarchical_timer.h.

Referenced by NLMISC::CHTimer::after.

uint64 NLMISC::CHTimer::CNode::TotalTime
 

Definition at line 294 of file hierarchical_timer.h.

Referenced by NLMISC::CHTimer::after.


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