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 100 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 32 of file Profiler.cc.


Member Function Documentation

void Profiler::SectionInfo::reset  ) 
 

resets profiling information

Definition at line 40 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 112 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 107 of file Profiler.h.

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

float Profiler::SectionInfo::execExpAvg
 

exponential average of execution time

Definition at line 108 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 110 of file Profiler.h.

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

float Profiler::SectionInfo::interExpAvg
 

exponential average of inter-call time

Definition at line 109 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 111 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 105 of file Profiler.h.

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

char Profiler::SectionInfo::name[MaxSectionNameLen]
 

the name of this timer

Definition at line 103 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 106 of file Profiler.h.

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

TimeET Profiler::SectionInfo::totalTime
 

the total time spent in this section

Definition at line 104 of file Profiler.h.

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


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

Tekkotsu v2.2
Generated Tue Oct 19 14:20:21 2004 by Doxygen 1.3.9.1