ec_memory_print_allocator_details

March 26, 2020 Contributors

Name

ec_memory_print_allocator_details — Render low-level allocator information to a string buffer

Synopsis

#include "ec_malloc.h"

| void **ec_memory_print_allocator_details** ( | str, |   |
|   | flags); |   |

string * <var class="pdparam">str</var>;
int <var class="pdparam">flags</var>;

Description

**Configuration Change. ** This feature is available starting from Momentum 3.0.18.

Render low-level allocator information to a string buffer. The information available depends on the allocator that is in use.

This function is typically called from the memory console command.

Parameters

str

The string to hold memory information.

flags

Any combination of EC_MALLOC_DETAILS_VERBOSE, EC_MALLOC_DETAILS_XML.

Return Value

This function returns void.

Threading

You can call this function in any thread.

See Also

Memory Functions