diff options
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index 1f949e5a3a..a5bea0a717 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -1518,6 +1518,11 @@ packed_cell_alloc(void) { return mp_pool_get(cell_pool); } +void +dump_cell_pool_usage(int severity) +{ + mp_pool_log_status(cell_pool, severity); +} #else /* ENABLE_CELL_POOL isn't defined: here are some stubs to use tor_malloc() * and tor_free() instead. */ @@ -1547,6 +1552,11 @@ packed_cell_alloc(void) { return tor_malloc(sizeof(packed_cell_t)); } +void +dump_cell_pool_usage(int severity) +{ + (void) severity; +} #endif /** Allocate a new copy of packed <b>cell</b>. */ |