Homepage Demos Overview Downloads Tutorials Reference
Credits

Profiler::SectionInfo Struct Reference

#include <Profiler.h>

List of all members.


Detailed Description

holds all the information needed for book keeping for each timer

Definition at line 93 of file Profiler.h.

Public Member Functions

 SectionInfo ()
 constructor

void reset ()
 resets profiling information


Public Attributes

char name [MaxSectionNameLen]
 the name of this timer

TimeET totalTime
 the total time spent in this section

TimeET lastTime
 time of last call, used to calculate totalInterval, which gives idea of rate of calls

TimeET totalInterval
 the total time spent between calls (not time between end of one and start of next, is time between start of one and start of next)

TimeET childTime
 the total time spent in child sections

float execExpAvg
 exponential average of execution time

float interExpAvg
 exponential average of inter-call time

unsigned int execHist [HistSize]
 histogram of execution times, uses logarithmic size bins (so high res for quick functions, low res for longer functions)

unsigned int interHist [HistSize]
 histogram of inter-call time, uses logarithmic size bins (so high res for quick functions, low res for longer functions)

unsigned int calls
 number of calls to this section


Constructor & Destructor Documentation

Profiler::SectionInfo::SectionInfo  ) 
 

constructor

Definition at line 31 of file Profiler.cc.


Member Function Documentation

void Profiler::SectionInfo::reset  ) 
 

resets profiling information

Definition at line 39 of file Profiler.cc.

Referenced by Profiler::reset().


Member Data Documentation

unsigned int Profiler::SectionInfo::calls
 

number of calls to this section

Definition at line 105 of file Profiler.h.

Referenced by Profiler::finished(), Profiler::report(), reset(), and Profiler::setCurrent().

TimeET Profiler::SectionInfo::childTime
 

the total time spent in child sections

Definition at line 100 of file Profiler.h.

Referenced by reset().

float Profiler::SectionInfo::execExpAvg
 

exponential average of execution time

Definition at line 101 of file Profiler.h.

Referenced by Profiler::finished(), and reset().

unsigned int Profiler::SectionInfo::execHist[HistSize]
 

histogram of execution times, uses logarithmic size bins (so high res for quick functions, low res for longer functions)

Definition at line 103 of file Profiler.h.

Referenced by Profiler::finished(), reset(), and SectionInfo().

float Profiler::SectionInfo::interExpAvg
 

exponential average of inter-call time

Definition at line 102 of file Profiler.h.

Referenced by reset(), and Profiler::setCurrent().

unsigned int Profiler::SectionInfo::interHist[HistSize]
 

histogram of inter-call time, uses logarithmic size bins (so high res for quick functions, low res for longer functions)

Definition at line 104 of file Profiler.h.

Referenced by reset(), SectionInfo(), and Profiler::setCurrent().

TimeET Profiler::SectionInfo::lastTime
 

time of last call, used to calculate totalInterval, which gives idea of rate of calls

Definition at line 98 of file Profiler.h.

Referenced by reset(), and Profiler::setCurrent().

char Profiler::SectionInfo::name[MaxSectionNameLen]
 

the name of this timer

Definition at line 96 of file Profiler.h.

Referenced by Profiler::getNewID(), and SectionInfo().

TimeET Profiler::SectionInfo::totalInterval
 

the total time spent between calls (not time between end of one and start of next, is time between start of one and start of next)

Definition at line 99 of file Profiler.h.

Referenced by reset(), and Profiler::setCurrent().

TimeET Profiler::SectionInfo::totalTime
 

the total time spent in this section

Definition at line 97 of file Profiler.h.

Referenced by Profiler::finished(), and reset().


The documentation for this struct was generated from the following files:
Tekkotsu v2.0
Generated Wed Jan 21 03:23:21 2004 by Doxygen 1.3.4