diff options
Diffstat (limited to 'src/mem_pool.h')
-rw-r--r-- | src/mem_pool.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mem_pool.h b/src/mem_pool.h index d332a2c11..0754afd7b 100644 --- a/src/mem_pool.h +++ b/src/mem_pool.h @@ -68,9 +68,11 @@ typedef struct memory_pool_s { * Statistics structure */ typedef struct memory_pool_stat_s { - memory_pool_ssize_t bytes_allocated; /**< bytes that are allocated with pool allocator */ + memory_pool_ssize_t pools_allocated; /**< total number of allocated pools */ + memory_pool_ssize_t pools_freed; /**< number of freed pools */ + memory_pool_ssize_t bytes_allocated; /**< bytes that are allocated with pool allocator */ memory_pool_ssize_t chunks_allocated; /**< number of chunks that are allocated */ - memory_pool_ssize_t shared_chunks_allocated; /**< shared chunks allocated */ + memory_pool_ssize_t shared_chunks_allocated; /**< shared chunks allocated */ memory_pool_ssize_t chunks_freed; /**< chunks freed */ } memory_pool_stat_t; |