Homepage Demos Overview Downloads Tutorials Reference
Credits
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Search

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.

References execHist, interHist, and name.


Member Function Documentation

void Profiler::SectionInfo::reset  ) 
 

resets profiling information

Definition at line 39 of file Profiler.cc.

References calls, childTime, execExpAvg, execHist, interExpAvg, interHist, lastTime, TimeET::Set(), totalInterval, and totalTime.


Member Data Documentation

unsigned int Profiler::SectionInfo::calls
 

number of calls to this section

Definition at line 105 of file Profiler.h.

TimeET Profiler::SectionInfo::childTime
 

the total time spent in child sections

Definition at line 100 of file Profiler.h.

float Profiler::SectionInfo::execExpAvg
 

exponential average of execution time

Definition at line 101 of file Profiler.h.

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.

float Profiler::SectionInfo::interExpAvg
 

exponential average of inter-call time

Definition at line 102 of file Profiler.h.

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.

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.

char Profiler::SectionInfo::name[MaxSectionNameLen]
 

the name of this timer

Definition at line 96 of file Profiler.h.

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.

TimeET Profiler::SectionInfo::totalTime
 

the total time spent in this section

Definition at line 97 of file Profiler.h.


The documentation for this struct was generated from the following files:
Tekkotsu v1.4
Generated Sat Jul 19 00:09:07 2003 by Doxygen 1.3.2