Separate netbsd-specific from unix-specific projects
[eleutheria.git] / unix / malloc / mstat.h
blobb270aeb8d9298e7adf6e65858b19513522bdcf66
1 #include "mpool.h"
3 void mpool_stat_get_nodes(const mpool_t *mpool, size_t *avail, size_t *used);
4 void mpool_stat_get_bytes(const mpool_t *mpool, size_t *avail, size_t *used);
5 size_t mpool_stat_get_blocks(const mpool_t *mpool);
6 size_t mpool_stat_get_block_length(const mpool_t *mpool, size_t pos);
7 #ifdef MP_STATS
8 size_t mpool_stat_get_splits(const mpool_t *mpool);
9 size_t mpool_stat_get_merges(const mpool_t *mpool);
10 #endif