Resets the statistics for a memory pool.
BOOLEAN mpool_stats_reset( MPOOL pool );
pool
EINVAL |
The pool is not a valid MPOOL. |
A call to heap_stats_reset/mpool_stats_reset clears the following fields:
ttl_alloc_failures ttl_alloc_ops ttl_blk_alloc_ops ttl_blk_free_ops ttl_consolidations_back ttl_consolidations_fore ttl_free_ops ttl_realloc_alloc_failures ttl_realloc_alloc_fallback ttl_realloc_contract ttl_realloc_contract_failures ttl_realloc_expand ttl_realloc_expand_failures ttl_realloc_ops
All other fields are calculated by a call to mpool_stats/heap_stats.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 4.0 | intime/rt/include/mpool.h | mpool.h | clib.lib |