ec_memtype_get_stats
Last updated March 2020
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.
- 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”.
This function returns the memory statistics for the desired type.
You can call this function in any thread.
See Also
Was this page helpful?