Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_memory_dump.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_memory_dump.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_memory_dump.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_memory_dump.html on line 8

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()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_memory_dump.html on line 95

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_memory_dump.html on line 95