Homepage Demos Overview Downloads Tutorials Reference
Credits

Profiler.h File Reference


Detailed Description

Describes Profiler, which managers a hierarchy of timers for profiling time spent in code.

Author:
ejt (Creator)
Author
ejt
Name
tekkotsu-2_1
Revision
1.11
State
Exp
Date
2004/02/04 23:06:47

Definition in file Profiler.h.

#include "TimeET.h"
#include "mathutils.h"
#include <string>

Include dependency graph for Profiler.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  Profiler
 Managers a hierarchy of timers for profiling time spent in code, gives microsecond resolution. More...

struct  Profiler::SectionInfo
 holds all the information needed for book keeping for each timer More...

class  Profiler::Timer
 Measures the time that this class exists, reports result to a profiler. More...

class  ProfilerOfSize
 templated subclass allows compile-time flexibility of how much memory to use. More...


Defines

#define PROFSECTION(NAME, PROF)
 put this at the beginning of any function for which you wish to collect profiling information


Define Documentation

#define PROFSECTION NAME,
PROF   ) 
 

Value:

static unsigned int _PROFSECTION_id=PROF.getNewID(NAME);\
  Profiler::Timer timer(_PROFSECTION_id,&PROF);
put this at the beginning of any function for which you wish to collect profiling information

Uses a variable named _PROFSECTION_id to store a static ID number - don't redefine or modify that...

Parameters:
NAME the name of this section for reporting
PROF the actual profiler to use

Definition at line 14 of file Profiler.h.

Referenced by SegmentedColorGenerator::calcImage(), RLEGenerator::calcImage(), RegionGenerator::calcImage(), RawCameraGenerator::calcImage(), JPEGGenerator::calcImage(), InterleavedYUVGenerator::calcImage(), CDTGenerator::calcImage(), MMCombo::GotImage(), MMCombo::GotPowerEvent(), MMCombo::GotSensorFrame(), and BallDetectionGenerator::processEvent().


Tekkotsu v2.1
Generated Tue Mar 16 23:20:53 2004 by Doxygen 1.3.5