diff options
| author | Doug Gilbert <dgilbert@us.ibm.com> | 2011-12-13 14:46:48 -0600 |
|---|---|---|
| committer | Douglas R. Gilbert <dgilbert@us.ibm.com> | 2012-01-12 10:46:18 -0600 |
| commit | 47f456fec103ec096edb5e0b9fcff54acbcd3d24 (patch) | |
| tree | 478f16727ec00b72da727bdffa5d467d131b22be /src/include | |
| parent | b93f3dc742c0fa8d16f130938b56feb48e5bd7d7 (diff) | |
| download | talos-hostboot-47f456fec103ec096edb5e0b9fcff54acbcd3d24.tar.gz talos-hostboot-47f456fec103ec096edb5e0b9fcff54acbcd3d24.zip | |
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 <dgilbert@us.ibm.com>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/kernel/block.H | 2 | ||||
| -rw-r--r-- | src/include/kernel/heapmgr.H | 9 | ||||
| -rw-r--r-- | src/include/kernel/pagemgr.H | 1 |
3 files changed, 9 insertions, 3 deletions
diff --git a/src/include/kernel/block.H b/src/include/kernel/block.H index df48c6b27..48e27b803 100644 --- a/src/include/kernel/block.H +++ b/src/include/kernel/block.H @@ -295,6 +295,8 @@ class Block /** Pointer to message handler(write) */ BlockWriteMsgHdlr* iv_writeMsgHdlr; + static uint32_t cv_ro_evict_req; //!< memstat ro eviction requests + static uint32_t cv_rw_evict_req; //!< memstat rw eviction requests /** * @brief Finish initialization of block. * 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_t> 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 diff --git a/src/include/kernel/pagemgr.H b/src/include/kernel/pagemgr.H index 41fb1e493..aec4470d2 100644 --- a/src/include/kernel/pagemgr.H +++ b/src/include/kernel/pagemgr.H @@ -104,6 +104,7 @@ class PageManager uint64_t iv_pagesTotal; static size_t cv_coalesce_count; //!< running coalesced counter + static size_t cv_low_page_count; //!< lowest page count struct page_t { |

