Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ProfilerOfSize< MaxSections > Class Template Reference

#include <Profiler.h>

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 215 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 217 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 220 of file Profiler.h.

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

outputs profiling information

Definition at line 223 of file Profiler.h.


Member Data Documentation

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

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

Definition at line 225 of file Profiler.h.

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

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

the actual profiling information storage

Definition at line 226 of file Profiler.h.


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

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