From 6b37e8905fb2d349669155f23d065a14a693d39f Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Thu, 29 Oct 2015 09:37:13 +0100 Subject: [PATCH] Expose Pool use count in Mem::AllocatorProxy (and MEMPROXY_CLASS) --- src/mem/AllocatorProxy.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mem/AllocatorProxy.h b/src/mem/AllocatorProxy.h index 18faf69434..1ea514da06 100644 --- a/src/mem/AllocatorProxy.h +++ b/src/mem/AllocatorProxy.h @@ -39,6 +39,7 @@ class MemPoolMeter; if (address) \ Pool().freeOne(address); \ } \ + static int UseCount() { return Pool().inUseCount(); } \ private: namespace Mem -- 2.47.2