diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-11-20 17:12:18 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-11-20 17:12:18 +0000 |
commit | 5ce3b934571906c012567d898d83c652fad30567 (patch) | |
tree | da4cbf3fceb38f3ba17f8d40caf396df92557081 /frontends/amiga/memory.h | |
parent | 17128fd0ad119c801a17e06da1fd8b351fb17f21 (diff) | |
download | netsurf-5ce3b934571906c012567d898d83c652fad30567.tar.gz netsurf-5ce3b934571906c012567d898d83c652fad30567.tar.bz2 |
Get clib2 slab usage
Calling ARexx function "SLABSTATS" will dump the current stats to the ns log
Diffstat (limited to 'frontends/amiga/memory.h')
-rw-r--r-- | frontends/amiga/memory.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |