ado_memory_dump()

Show all memory currently in use by the ado_* family of allocation functions

Synopsis:

#include <audio_driver.h>

void ado_memory_dump( void );

Description:

If ADO_DEBUG is defined, ado_memory_dump() prints on standard output all the memory currently in use by the ado_*() family of allocation functions. This is a very handy debugging tool for memory leaks.

When ADO_DEBUG isn't defined, the ado_*() allocation functions are simply redefined to the standard functions so as not to incur any speed penalties.

For more information, see Debugging an audio driver in the Organization of a Driver chapter.

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes

See also:

ado_calloc(), ado_free(), ado_malloc(), ado_realloc(), ado_strdup()