ec_memory_get_total_allocated — Return the total memory allocated via ec_malloc and related functions
uint64_t **ec_memory_get_total_allocated** ( |
); | |
**Configuration Change. ** This feature is available starting from Momentum 3.0.18.
Return the total memory allocated via ec_mallocec_malloc and related functions.
In earlier releases, this function was known as get_rss(), which was a misleading name, as the value returned from this function includes only the memory allocated via ec_malloc, ec_malloc_size and ec_realloc.
This function returns void.
You can call this function in any thread.