next up previous contents index
Next: 23 Address Map Manager: Up: 22.6 API reference Previous: 22.6.13 lmm_dump: display the

22.6.14 lmm_stats: display statistics for an LMM pool

 

SYNOPSIS

#include <oskit/lmm.h>

void lmm_stats(lmm_t *lmm);

DESCRIPTION

Uses printf to display a one-line summary of an LMM in the form:

LMM=0x0017e644: 117506664 bytes in 3 regions, 6 nodes

which lists the address of the LMM pool, the total number of bytes contained in it, the number of regions attached via lmm_add_region, and the number of nodes used to describe the memory. This routine is primarily used for tracking down memory leaks and list fragmentation problems.



Utah Flux Research Group