Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Profiler::AutoInit Class Reference

#include <Profiler.h>

List of all members.


Detailed Description

Automatically causes initialization of the histogram buckets when the first Profiler is instantiated.

Definition at line 203 of file Profiler.h.


Public Member Functions

 AutoInit ()
 constructor, adds to refcount and totalcount, causes initalization if was 0
 ~AutoInit ()
 destructor, decrements refcount, does teardown if it hits 0

Static Protected Attributes

static unsigned int refcount = 0
 the number of profilers in existance
static unsigned int totalcount = 0
 the number of profilers which have been created

Constructor & Destructor Documentation

Profiler::AutoInit::AutoInit (  ) 

constructor, adds to refcount and totalcount, causes initalization if was 0

Definition at line 125 of file Profiler.cc.

Profiler::AutoInit::~AutoInit (  ) 

destructor, decrements refcount, does teardown if it hits 0

Definition at line 132 of file Profiler.cc.


Member Data Documentation

unsigned int Profiler::AutoInit::refcount = 0 [static, protected]

the number of profilers in existance

Definition at line 208 of file Profiler.h.

Referenced by AutoInit(), and ~AutoInit().

unsigned int Profiler::AutoInit::totalcount = 0 [static, protected]

the number of profilers which have been created

Definition at line 209 of file Profiler.h.

Referenced by AutoInit().


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

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