# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLMEMORY Namespace Reference


Compounds

struct  NLMEMORY::CHeapAllocator::CCategory
class  NLMEMORY::CCategoryMap
struct  NLMEMORY::CHeapAllocator::CFreeNode
class  NLMEMORY::CHeapAllocator
class  NLMEMORY::CLeak
struct  NLMEMORY::CHeapAllocator::CMemoryLeakBlock
struct  NLMEMORY::CHeapAllocator::CNodeBegin
struct  NLMEMORY::CHeapAllocator::CNodeEnd
struct  NLMEMORY::CHeapAllocator::CMainBlock
struct  NLMEMORY::CHeapAllocator::CNullNode
class  NLMEMORY::CMemoryMutex
 Mutex used by the memory manager. More...

class  NLMEMORY::CMemoryTDS
 Thread dependant storage class. More...

class  NLMEMORY::CPointerEntry
struct  NLMEMORY::CHeapAllocator::CSmallBlockPool
class  NLMEMORY::CReportMemoryLeak

Functions

void CHeapAllocatorOutputError (const char *str)
void fprintf_int (uint value)
MEMORY_API void * MemoryAllocate (unsigned int size)
MEMORY_API void * MemoryAllocateDebug (uint size, const char *filename, uint line, const char *category)
MEMORY_API unsigned int GetAllocatedMemory ()
MEMORY_API unsigned int GetFreeMemory ()
MEMORY_API unsigned int GetTotalMemoryUsed ()
MEMORY_API unsigned int GetDebugInfoSize ()
MEMORY_API unsigned int GetAllocatedMemoryByCategory (const char *category)
MEMORY_API float GetFragmentationRatio ()
MEMORY_API unsigned int GetAllocatedSystemMemoryByAllocator ()
MEMORY_API unsigned int GetAllocatedSystemMemory ()
MEMORY_API bool CheckHeap (bool stopOnError)
MEMORY_API bool StatisticsReport (const char *filename, bool memoryDump)
MEMORY_API unsigned int GetBlockSize (void *pointer)
MEMORY_API void MemoryDeallocate (void *p)
MEMORY_API NLMEMORY::CHeapAllocatorGetGlobalHeapAllocator ()

Variables

CHeapAllocatorGlobalHeapAllocator = NULL
CReportMemoryLeak ReportMemoryLeak


Function Documentation

void CHeapAllocatorOutputError const char *    str
 

Definition at line 941 of file memory/heap_allocator.cpp.

MEMORY_API bool CheckHeap bool    stopOnError
 

Definition at line 140 of file memory_manager.cpp.

void fprintf_int uint    value
 

Definition at line 2245 of file memory/heap_allocator.cpp.

MEMORY_API unsigned int GetAllocatedMemory  
 

Definition at line 76 of file memory_manager.cpp.

MEMORY_API unsigned int GetAllocatedMemoryByCategory const char *    category
 

Definition at line 108 of file memory_manager.cpp.

MEMORY_API unsigned int GetAllocatedSystemMemory  
 

Definition at line 133 of file memory_manager.cpp.

MEMORY_API unsigned int GetAllocatedSystemMemoryByAllocator  
 

Definition at line 126 of file memory_manager.cpp.

MEMORY_API unsigned int GetBlockSize void *    pointer
 

Definition at line 158 of file memory_manager.cpp.

MEMORY_API unsigned int GetDebugInfoSize  
 

Definition at line 97 of file memory_manager.cpp.

MEMORY_API float GetFragmentationRatio  
 

Definition at line 119 of file memory_manager.cpp.

MEMORY_API unsigned int GetFreeMemory  
 

Definition at line 83 of file memory_manager.cpp.

MEMORY_API NLMEMORY::CHeapAllocator* GetGlobalHeapAllocator  
 

Definition at line 176 of file memory_manager.cpp.

MEMORY_API unsigned int GetTotalMemoryUsed  
 

Definition at line 90 of file memory_manager.cpp.

MEMORY_API void* MemoryAllocate unsigned int    size
 

Definition at line 62 of file memory_manager.cpp.

MEMORY_API void* MemoryAllocateDebug uint    size,
const char *    filename,
uint    line,
const char *    category
 

Definition at line 67 of file memory_manager.cpp.

MEMORY_API void MemoryDeallocate void *    p
 

Definition at line 169 of file memory_manager.cpp.

MEMORY_API bool StatisticsReport const char *    filename,
bool    memoryDump
 

Definition at line 147 of file memory_manager.cpp.


Variable Documentation

CHeapAllocator * NLMEMORY::GlobalHeapAllocator = NULL
 

Definition at line 46 of file memory_manager.cpp.

Referenced by NLMEMORY::CReportMemoryLeak::~CReportMemoryLeak.

CReportMemoryLeak NLMEMORY::ReportMemoryLeak
 

Definition at line 201 of file memory_manager.cpp.