83 const char *p_CompilDate,
84 const char *p_CompilTime,
85 const char *p_Function);
118 const char *p_CompilDate,
119 const char *p_CompilTime,
120 const char *p_Function);
size_t(* memtrack_getblocksize)(const void *p_Ptr)
Functor to get size of a specific memory block.
uint64_t(* memtrack_getallocatedblocks)()
Functor to get the number of allocated blocks.
struct MemBlock TMemBlock
Memory block metadata list item.
uint64_t(* memtrack_getallocatedRAM)()
Functor to get the total RAM size allocated.
unsigned int(* memtrack_delblock)(const void *p_Ptr, const char *p_File, const int p_Line, const char *p_CompilDate, const char *p_CompilTime, const char *p_Function)
Functor to unregister an allocated memory block metadata.
uint64_t(* memtrack_dumpblocks)()
Functor to list allocated memory blocks metadata.
unsigned int(* memtrack_addblock)(const void *p_Ptr, const size_t p_Size, const char *p_File, const int p_Line, const char *p_CompilDate, const char *p_CompilTime, const char *p_Function)
Functor to register an allocated memory block metadata.
Memory block metadata list item.
size_t Size
Allocated memory block size.
struct MemBlock * Prev
Previous item pointer.
struct MemBlock * Next
Next item pointer.
char * CompilDate
Source file compilation date.
char * CompilTime
Source file compilation time.
char * File
Source file which asked the allocation.
char * Function
Fonction name which asked the allocation.
void * Ptr
Allocated memory block pointer.
int Line
Source line number ch asked the allocation.