#include <salloc.h>
Collaboration diagram for LMallocUsage:
Public Attributes | |
size_t | alloc_limit |
current limit; 0 for unlimited | |
size_t | curr_used |
amount of currently used memory | |
size_t | max_used |
max amount of mem used | |
size_t | malloc_calls |
number of calls to LMalloc()... | |
size_t | realloc_calls |
...LRealloc(),... | |
size_t | free_calls |
...and LFree(). | |
int | used_chunks |
incremented for alloc and decremented for free | |
int | max_used_chunks |
max number of used chunks at a time | |
int | real_failures |
how often allocation failed due to real failures | |
int | limit_failures |
how often allocation failed due to alloc limit |
Definition at line 33 of file salloc.h.
|
current limit; 0 for unlimited
Definition at line 35 of file salloc.h. Referenced by _LMalloc(), _LMallocPrintStats(), _LRealloc(), and LMallocSetLimit(). |
|
amount of currently used memory
Definition at line 36 of file salloc.h. Referenced by _LFree(), _LMalloc(), _LMallocPrintStats(), _LRealloc(), and main(). |
|
...and LFree().
Definition at line 40 of file salloc.h. Referenced by _LFree(), _LMallocPrintStats(), and main(). |
|
how often allocation failed due to alloc limit
Definition at line 44 of file salloc.h. Referenced by _LMalloc(), and _LRealloc(). |
|
number of calls to LMalloc()...
Definition at line 38 of file salloc.h. Referenced by _LMalloc(), _LMallocPrintStats(), and main(). |
|
max amount of mem used
Definition at line 37 of file salloc.h. Referenced by _LMalloc(), _LMallocPrintStats(), _LRealloc(), and main(). |
|
max number of used chunks at a time
Definition at line 42 of file salloc.h. Referenced by _LMalloc(), _LMallocPrintStats(), and main(). |
|
how often allocation failed due to real failures
Definition at line 43 of file salloc.h. Referenced by _LMalloc(), and _LRealloc(). |
|
...LRealloc(),...
Definition at line 39 of file salloc.h. Referenced by _LMallocPrintStats(), _LRealloc(), and main(). |
|
incremented for alloc and decremented for free
Definition at line 41 of file salloc.h. Referenced by _LFree(), _LMalloc(), _LMallocPrintStats(), and main(). |