From 5ce3b934571906c012567d898d83c652fad30567 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 20 Nov 2016 17:12:18 +0000 Subject: Get clib2 slab usage Calling ARexx function "SLABSTATS" will dump the current stats to the ns log --- frontends/amiga/memory.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'frontends/amiga/memory.h') diff --git a/frontends/amiga/memory.h b/frontends/amiga/memory.h index a3b6b5e37..3d9235062 100644 --- a/frontends/amiga/memory.h +++ b/frontends/amiga/memory.h @@ -57,5 +57,10 @@ void *ami_memory_clear_alloc(size_t size, UBYTE value); #define ami_memory_itempool_free(p,i,s) FreePooled(p,i,s) #endif +/* clib2 slab allocator stats */ +#ifndef __amigaos4__ +void ami_memory_slab_dump(void); +#endif + #endif //AMIGA_MEMORY_H -- cgit v1.2.3