- return the total amount of dynamically allocated memory
SYNOPSIS
unsigned int memory_monitor
()
ARGUMENTS
None.
RETURNS
The total amount of memory allocated using one of the ...alloc_monitor
functions below in bytes.
FUNCTION
The routine traverses the linked list of MALINFO structures (topmem,endmem - see MONITOR-ALLOCATION-variables) and sums the sizes of
the allocated blocks.
NOTE
The routine can only report about blocks of memory allocated using one of the
...alloc_monitor functions below.