Compounds |
struct | sMStats |
struct | tag_au |
Defines |
#define | osgNew new |
#define | osgDelete delete |
#define | osgMalloc(sz) malloc(sz) |
#define | osgCalloc(sz) calloc(sz) |
#define | osgRealloc(ptr, sz) realloc(ptr,sz) |
#define | osgFree(ptr) free(ptr) |
Typedefs |
typedef tag_au | sAllocUnit |
Functions |
SG_EXPORT void | m_setOwner (const char *file, const unsigned int line) |
SG_EXPORT bool & | m_breakOnRealloc (void *reportedAddress) |
SG_EXPORT bool & | m_breakOnDealloc (void *reportedAddress) |
SG_EXPORT void | m_breakOnAllocation (unsigned int count) |
SG_EXPORT void * | m_allocator (const char *sourceFile, const unsigned int sourceLine, const unsigned int allocationType, const size_t reportedSize) |
SG_EXPORT void * | m_reallocator (const char *sourceFile, const unsigned int sourceLine, const unsigned int reallocationType, const size_t reportedSize, void *reportedAddress) |
SG_EXPORT void | m_deallocator (const char *sourceFile, const unsigned int sourceLine, const unsigned int deallocationType, const void *reportedAddress) |
SG_EXPORT bool | m_validateAddress (const void *reportedAddress) |
SG_EXPORT bool | m_validateAllocUnit (const sAllocUnit *allocUnit) |
SG_EXPORT bool | m_validateAllAllocUnits () |
SG_EXPORT unsigned int | m_calcUnused (const sAllocUnit *allocUnit) |
SG_EXPORT unsigned int | m_calcAllUnused () |
SG_EXPORT void | m_dumpAllocUnit (const sAllocUnit *allocUnit, const char *prefix="") |
SG_EXPORT void | m_dumpMemoryReport (const char *filename="memreport.log", const bool overwrite=true) |
SG_EXPORT sMStats | m_getMemoryStatistics () |
Variables |
SG_EXPORT const unsigned int | m_alloc_unknown |
SG_EXPORT const unsigned int | m_alloc_new |
SG_EXPORT const unsigned int | m_alloc_new_array |
SG_EXPORT const unsigned int | m_alloc_malloc |
SG_EXPORT const unsigned int | m_alloc_calloc |
SG_EXPORT const unsigned int | m_alloc_realloc |
SG_EXPORT const unsigned int | m_alloc_delete |
SG_EXPORT const unsigned int | m_alloc_delete_array |
SG_EXPORT const unsigned int | m_alloc_free |