From b4e42a59c6b6c9052ed9c99a75c9934d31bf9af5 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Thu, 3 Sep 2020 22:00:14 -0400 Subject: [PATCH] Stats traacking improvement --- Grid/allocator/MemoryManager.cc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Grid/allocator/MemoryManager.cc b/Grid/allocator/MemoryManager.cc index 1593cab2..ce69aa10 100644 --- a/Grid/allocator/MemoryManager.cc +++ b/Grid/allocator/MemoryManager.cc @@ -9,11 +9,13 @@ NAMESPACE_BEGIN(Grid); #define AccSmall (3) #define Shared (4) #define SharedSmall (5) +uint64_t total_cache; uint64_t total_shared; uint64_t total_device; uint64_t total_host;; void MemoryManager::PrintBytes(void) { + std::cout << " MemoryManager : "<