Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Profiler::SectionInfo Struct Reference

holds all the information needed for book keeping for each timer More...

#include <Profiler.h>


Detailed Description

holds all the information needed for book keeping for each timer

Definition at line 111 of file Profiler.h.

List of all members.

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


Member Function Documentation

void Profiler::SectionInfo::reset (  ) 

resets profiling information

Definition at line 44 of file Profiler.cc.


Member Data Documentation

number of calls to this section

Definition at line 123 of file Profiler.h.

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

the total time spent in child sections

Definition at line 118 of file Profiler.h.

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

exponential average of execution time

Definition at line 119 of file Profiler.h.

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

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

Definition at line 121 of file Profiler.h.

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

exponential average of inter-call time

Definition at line 120 of file Profiler.h.

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

histogram of inter-call time, 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 reset(), SectionInfo(), and Profiler::setCurrent().

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

Definition at line 116 of file Profiler.h.

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

the name of this timer

Definition at line 114 of file Profiler.h.

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

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

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

the total time spent in this section

Definition at line 115 of file Profiler.h.

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


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:14 2016 by Doxygen 1.6.3