Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Profiler::AutoInit Class Reference

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

#include <Profiler.h>


Detailed Description

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

Definition at line 202 of file Profiler.h.

List of all members.

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 126 of file Profiler.cc.

Profiler::AutoInit::~AutoInit (  ) 

destructor, decrements refcount, does teardown if it hits 0

Definition at line 133 of file Profiler.cc.


Member Data Documentation

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

the number of profilers in existance

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

Referenced by AutoInit().


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

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