Wm4::Memory Class Reference

#include <Wm4Memory.h>

List of all members.

Classes

struct  Block

Static Public Member Functions

static void * Allocate (size_t uiSize, char *acFile, unsigned int uiLine, bool bIsArray)
static void Deallocate (char *pcAddr, bool bIsArray)
static void GenerateReport (const char *acFilename)
static const BlockGetHead ()
static size_t GetHistogram (int i)
static size_t GetMaxAllocatedBytes ()
static size_t GetMaxBlockSize ()
static size_t GetNumBlocks ()
static size_t GetNumBytes ()
static size_t GetNumDeleteCalls ()
static size_t GetNumNewCalls ()
static const BlockGetTail ()
static void InsertBlock (Block *pkBlock)
static size_t & MaxAllowedBytes ()
static void RemoveBlock (Block *pkBlock)
static bool & TrackSizes ()

Detailed Description

Definition at line 38 of file Wm4Memory.h.


Member Function Documentation

void * Memory::Allocate ( size_t  uiSize,
char *  acFile,
unsigned int  uiLine,
bool  bIsArray 
) [static]
void Memory::Deallocate ( char *  pcAddr,
bool  bIsArray 
) [static]
void Memory::GenerateReport ( const char *  acFilename  )  [static]
const Memory::Block * Wm4::Memory::GetHead (  )  [inline, static]

Definition at line 70 of file Wm4Memory.inl.

size_t Wm4::Memory::GetHistogram ( int  i  )  [inline, static]

Definition at line 60 of file Wm4Memory.inl.

size_t Wm4::Memory::GetMaxAllocatedBytes (  )  [inline, static]

Definition at line 50 of file Wm4Memory.inl.

size_t Wm4::Memory::GetMaxBlockSize (  )  [inline, static]

Definition at line 55 of file Wm4Memory.inl.

size_t Wm4::Memory::GetNumBlocks (  )  [inline, static]

Definition at line 40 of file Wm4Memory.inl.

size_t Wm4::Memory::GetNumBytes (  )  [inline, static]

Definition at line 45 of file Wm4Memory.inl.

size_t Wm4::Memory::GetNumDeleteCalls (  )  [inline, static]

Definition at line 35 of file Wm4Memory.inl.

size_t Wm4::Memory::GetNumNewCalls (  )  [inline, static]

Definition at line 30 of file Wm4Memory.inl.

const Memory::Block * Wm4::Memory::GetTail (  )  [inline, static]

Definition at line 75 of file Wm4Memory.inl.

void Memory::InsertBlock ( Block pkBlock  )  [static]

Definition at line 164 of file Wm4Memory.cpp.

References Wm4::Memory::Block::Next, and Wm4::Memory::Block::Prev.

Referenced by Allocate().

size_t & Wm4::Memory::MaxAllowedBytes (  )  [inline, static]

Definition at line 20 of file Wm4Memory.inl.

void Memory::RemoveBlock ( Block pkBlock  )  [static]

Definition at line 183 of file Wm4Memory.cpp.

References Wm4::Memory::Block::Next, and Wm4::Memory::Block::Prev.

Referenced by Deallocate().

bool & Wm4::Memory::TrackSizes (  )  [inline, static]

Definition at line 25 of file Wm4Memory.inl.


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

Generated on Wed Nov 23 19:02:50 2011 for FreeCAD by  doxygen 1.6.1