Resets the heap's statistics.
int heap_stats_reset(void);
None.
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.
0 (zero) 
0 (zero) 
EINVAL | 
The heap is not a valid MPOOL. | 
| Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 4.0 | intime/rt/include/heap.h | heap.h | clib.lib |