From 47f456fec103ec096edb5e0b9fcff54acbcd3d24 Mon Sep 17 00:00:00 2001 From: Doug Gilbert Date: Tue, 13 Dec 2011 14:46:48 -0600 Subject: Tool to display memory statistics Change-Id: Iaac392b9f4287ba888e454532c4061d6a14c6e5c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/593 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert --- src/include/kernel/heapmgr.H | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/include/kernel/heapmgr.H') diff --git a/src/include/kernel/heapmgr.H b/src/include/kernel/heapmgr.H index a2509e060..56652ea66 100644 --- a/src/include/kernel/heapmgr.H +++ b/src/include/kernel/heapmgr.H @@ -211,8 +211,11 @@ class HeapManager Util::Lockfree::Stack big_chunk_stack; //!< big chunk dir static const size_t cv_chunk_size[BUCKETS];//!< The bucket sizes - static size_t cv_coalesce_count; //!< coalesced chunk count - static size_t cv_free_bytes; //!< Only valid after coalesce() - static size_t cv_free_chunks; //!< Only valid after coalesce() + static uint32_t cv_coalesce_count; //!< coalesced chunk count + static uint32_t cv_free_bytes; //!< Only valid after coalesce() + static uint32_t cv_free_chunks; //!< Only valid after coalesce() + static uint32_t cv_smallheap_page_count; //!< # of pages being used + static uint32_t cv_largeheap_page_count; //!< # of pages being used + static uint32_t cv_largeheap_page_max; //!< Max # of pages used }; #endif -- cgit v1.2.3