Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ProfilerOfSize< MaxSections > Class Template Reference

#include <Profiler.h>

Inheritance diagram for ProfilerOfSize< MaxSections >:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<unsigned int MaxSections>
class ProfilerOfSize< MaxSections >

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

Definition at line 206 of file Profiler.h.

Public Member Functions

 ProfilerOfSize ()
 constructor
unsigned int getNewID (const char *name)
 call this to get a new ID number
std::string report ()
 outputs profiling information

Public Attributes

Profiler prof
 the profiler that does the work, must immediately preceed infos!
Profiler::SectionInfo infos [MaxSections]
 the actual profiling information storage


Constructor & Destructor Documentation

template<unsigned int MaxSections>
ProfilerOfSize< MaxSections >::ProfilerOfSize  )  [inline]
 

constructor

Definition at line 208 of file Profiler.h.


Member Function Documentation

template<unsigned int MaxSections>
unsigned int ProfilerOfSize< MaxSections >::getNewID const char *  name  )  [inline]
 

call this to get a new ID number

Definition at line 211 of file Profiler.h.

template<unsigned int MaxSections>
std::string ProfilerOfSize< MaxSections >::report  )  [inline]
 

outputs profiling information

Definition at line 214 of file Profiler.h.

Referenced by ProfilerCheckControl::activate().


Member Data Documentation

template<unsigned int MaxSections>
Profiler::SectionInfo ProfilerOfSize< MaxSections >::infos[MaxSections]
 

the actual profiling information storage

Definition at line 217 of file Profiler.h.

template<unsigned int MaxSections>
Profiler ProfilerOfSize< MaxSections >::prof
 

the profiler that does the work, must immediately preceed infos!

Definition at line 216 of file Profiler.h.

Referenced by ProfilerOfSize< 06 >::getNewID(), and ProfilerOfSize< 06 >::report().


The documentation for this class was generated from the following file:

Tekkotsu v2.4.1
Generated Tue Aug 16 16:35:07 2005 by Doxygen 1.4.4