Homepage
Demos
Overview
Downloads
Dev. Resources
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_4_1
Revision
1.15
State
Exp
Date
2005/08/07 04:11:04

Definition in file Profiler.h.

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

Include dependency graph for Profiler.h:

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

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  Profiler::AutoInit
 Automatically causes initialization of the histogram buckets when the first Profiler is instantiated. More...
class  ProfilerOfSize< MaxSections >
 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 _PROFSECTION_timer(_PROFSECTION_id,&PROF.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(), and BallDetectionGenerator::processEvent().


Tekkotsu v2.4.1
Generated Tue Aug 16 16:34:10 2005 by Doxygen 1.4.4