diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-09-18 13:17:43 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-09-18 13:17:43 +0100 |
commit | 6e280e579b2d510fd8c2d3abe3ca652448cdc4a5 (patch) | |
tree | f2da8b73716b85baaac0f8f7d0ef3f3657bf446b /src/libutil/mem_pool.h | |
parent | 8cf474069601dbb376de86dffae49988029794ee (diff) | |
download | rspamd-6e280e579b2d510fd8c2d3abe3ca652448cdc4a5.tar.gz rspamd-6e280e579b2d510fd8c2d3abe3ca652448cdc4a5.zip |
Some fixes to memory pools operations.
Diffstat (limited to 'src/libutil/mem_pool.h')
-rw-r--r-- | src/libutil/mem_pool.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libutil/mem_pool.h b/src/libutil/mem_pool.h index 2a8546ef0..6d59e27c7 100644 --- a/src/libutil/mem_pool.h +++ b/src/libutil/mem_pool.h @@ -86,13 +86,13 @@ typedef struct memory_pool_s { * Statistics structure */ typedef struct memory_pool_stat_s { - gsize pools_allocated; /**< total number of allocated pools */ - gsize pools_freed; /**< number of freed pools */ - gsize bytes_allocated; /**< bytes that are allocated with pool allocator */ - gsize chunks_allocated; /**< number of chunks that are allocated */ - gsize shared_chunks_allocated; /**< shared chunks allocated */ - gsize chunks_freed; /**< chunks freed */ - gsize oversized_chunks; /**< oversized chunks */ + guint pools_allocated; /**< total number of allocated pools */ + guint pools_freed; /**< number of freed pools */ + guint bytes_allocated; /**< bytes that are allocated with pool allocator */ + guint chunks_allocated; /**< number of chunks that are allocated */ + guint shared_chunks_allocated; /**< shared chunks allocated */ + guint chunks_freed; /**< chunks freed */ + guint oversized_chunks; /**< oversized chunks */ } rspamd_mempool_stat_t; /** |