Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

ark::AllocatorAuditor Class Reference

#include <MemoryBase.h>

Inheritance diagram for ark::AllocatorAuditor:

ark::ThreadSafeAllocatorAuditor List of all members.

Public Member Functions

 AllocatorAuditor ()
virtual ~AllocatorAuditor ()
virtual void beginAuditCycle ()
virtual void endAuditCycle ()
virtual void printAuditTally ()
virtual void registerAllocation ()
virtual void registerDeallocation ()
virtual void resetAudit ()

Private Attributes

bool _auditing
unsigned _allocations
unsigned _deallocations
unsigned _outOfCycleAllocs
unsigned _outOfCycleDeallocs
int _missing
unsigned _cyclesElapsed
unsigned _maxAllocsPerCycle
unsigned _minAllocsPerCycle
unsigned _maxDeallocsPerCycle
unsigned _minDeallocsPerCycle

Constructor & Destructor Documentation

AllocatorAuditor::AllocatorAuditor  ) 
 

virtual ark::AllocatorAuditor::~AllocatorAuditor  )  [inline, virtual]
 


Member Function Documentation

void AllocatorAuditor::beginAuditCycle  )  [virtual]
 

Reimplemented in ark::ThreadSafeAllocatorAuditor.

void AllocatorAuditor::endAuditCycle  )  [virtual]
 

Reimplemented in ark::ThreadSafeAllocatorAuditor.

void AllocatorAuditor::printAuditTally  )  [virtual]
 

Reimplemented in ark::ThreadSafeAllocatorAuditor.

void AllocatorAuditor::registerAllocation  )  [virtual]
 

Reimplemented in ark::ThreadSafeAllocatorAuditor.

void AllocatorAuditor::registerDeallocation  )  [virtual]
 

Reimplemented in ark::ThreadSafeAllocatorAuditor.

void AllocatorAuditor::resetAudit  )  [virtual]
 

Reimplemented in ark::ThreadSafeAllocatorAuditor.


Member Data Documentation

unsigned ark::AllocatorAuditor::_allocations [private]
 

bool ark::AllocatorAuditor::_auditing [private]
 

unsigned ark::AllocatorAuditor::_cyclesElapsed [private]
 

unsigned ark::AllocatorAuditor::_deallocations [private]
 

unsigned ark::AllocatorAuditor::_maxAllocsPerCycle [private]
 

unsigned ark::AllocatorAuditor::_maxDeallocsPerCycle [private]
 

unsigned ark::AllocatorAuditor::_minAllocsPerCycle [private]
 

unsigned ark::AllocatorAuditor::_minDeallocsPerCycle [private]
 

int ark::AllocatorAuditor::_missing [private]
 

unsigned ark::AllocatorAuditor::_outOfCycleAllocs [private]
 

unsigned ark::AllocatorAuditor::_outOfCycleDeallocs [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Sep 6 14:54:40 2005 for Arkonnekt Sound by  doxygen 1.4.4