Skip to main content

Name

ec_memtype_get_stats — Return usage statistics for a given memtype

Synopsis

#include "ec_malloc.h"

| int **ec_memtype_get_stats** ( | object_type, |   | |   | usage); |   |

int <var class="pdparam">object_type</var>; struct ec_mem_type_usage * <var class="pdparam">usage</var>;

Description

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

Return usage statistics for a given memtype.

Parameters

object_type

The memory type for which stats are desired. For more information about memory types see Memory Types.

usage

A structure to hold the stats. For more information about this data structure see “ec_mem_type_usage”.

Return Value

This function returns the memory statistics for the desired type.

Threading

You can call this function in any thread.

See Also

Was this page helpful?