Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
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 112 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 35 of file Profiler.cc.


Member Function Documentation

void Profiler::SectionInfo::reset (  ) 

resets profiling information

Definition at line 43 of file Profiler.cc.


Member Data Documentation

the name of this timer

Definition at line 115 of file Profiler.h.

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

the total time spent in this section

Definition at line 116 of file Profiler.h.

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

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

Definition at line 117 of file Profiler.h.

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

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 118 of file Profiler.h.

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

the total time spent in child sections

Definition at line 119 of file Profiler.h.

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

exponential average of execution time

Definition at line 120 of file Profiler.h.

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

exponential average of inter-call time

Definition at line 121 of file Profiler.h.

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

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

Definition at line 122 of file Profiler.h.

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

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

Definition at line 123 of file Profiler.h.

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

number of calls to this section

Definition at line 124 of file Profiler.h.

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


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:37 2007 by Doxygen 1.5.4