summaryrefslogtreecommitdiff
path: root/src/common/mempool.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-04-19 18:47:04 +0000
committerNick Mathewson <nickm@torproject.org>2007-04-19 18:47:04 +0000
commit7392464b8805950be47fddf160efef3d52df7444 (patch)
treeca07050a3001de9ee7ed7df58b670300b4f8a452 /src/common/mempool.h
parentbf4f0539cf1163c872574055fe69d67f06a5f87f (diff)
downloadtor-7392464b8805950be47fddf160efef3d52df7444.tar.gz
tor-7392464b8805950be47fddf160efef3d52df7444.zip
r12456@catbus: nickm | 2007-04-19 14:47:01 -0400
Make dumpmemusage() dump cell pool usage information. svn:r9991
Diffstat (limited to 'src/common/mempool.h')
-rw-r--r--src/common/mempool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/mempool.h b/src/common/mempool.h
index 09174b2a55..4b6f480d5b 100644
--- a/src/common/mempool.h
+++ b/src/common/mempool.h
@@ -21,6 +21,7 @@ mp_pool_t *mp_pool_new(size_t item_size, size_t chunk_capacity);
void mp_pool_clean(mp_pool_t *pool, int n);
void mp_pool_destroy(mp_pool_t *pool);
void mp_pool_assert_ok(mp_pool_t *pool);
+void mp_pool_log_status(mp_pool_t *pool, int severity);
#ifdef MEMPOOL_PRIVATE
/* These declarations are only used by mempool.c and test.c */