Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ProfilerOfSize< MaxSections > Class Template Reference

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

#include <Profiler.h>


Detailed Description

template<unsigned int MaxSections>
class ProfilerOfSize< MaxSections >

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

Definition at line 214 of file Profiler.h.

List of all members.

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 (  ) 

constructor

Definition at line 216 of file Profiler.h.


Member Function Documentation

template<unsigned int MaxSections>
unsigned int ProfilerOfSize< MaxSections >::getNewID ( const char *  name  ) 

call this to get a new ID number

Definition at line 219 of file Profiler.h.

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

outputs profiling information

Definition at line 222 of file Profiler.h.


Member Data Documentation

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

the actual profiling information storage

Definition at line 225 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 224 of file Profiler.h.

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


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

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