From f1a969f0c31b9126b017363c7e859f7e2e4e56ff Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Tue, 11 Aug 2026 16:31:23 -0400 Subject: [PATCH] Evict all optoin --- Grid/allocator/MemoryManager.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Grid/allocator/MemoryManager.h b/Grid/allocator/MemoryManager.h index 0870313d5..94127fd9c 100644 --- a/Grid/allocator/MemoryManager.h +++ b/Grid/allocator/MemoryManager.h @@ -113,7 +113,7 @@ private: static void *Insert(void *ptr,size_t bytes,AllocationCacheEntry *entries,int ncache,int &victim,uint64_t &cbytes) ; static void *Lookup(size_t bytes,AllocationCacheEntry *entries,int ncache,uint64_t &cbytes) ; - public: +public: static void PrintBytes(void); static void Audit(std::string s); static void Init(void); @@ -215,6 +215,7 @@ private: static void NotifyDeletion(void * CpuPtr); static void Print(void); static void PrintAll(void); + static void EvictAll(void); static void PrintState( void* CpuPtr); static int isOpen (void* CpuPtr); static void ViewClose(void* CpuPtr,ViewMode mode);