13 #ifndef __UT_ArenaInfo__
14 #define __UT_ArenaInfo__
30 static size_t arenaSize();
31 static size_t totalInUse();
34 static void outputUsage(std::ostream &os,
const bool output_in_bytes=
false,
35 const bool debug=
false);
38 static void outputUsage(
UT_WorkBuffer &wbuf,
const bool in_bytes=
false,
39 const bool debug=
false);
41 static bool usingCustomAllocator();
43 customAllocatorName();
45 static void configureCustomAllocator();
47 static bool customAllocatorTestDisabled();
50 customAllocatorTestDisabledMessage();
52 static void setThreadIdle();
53 static void setThreadBusy();
55 static void releaseAllUnusedMemory();
58 #if defined(SYS_ALLOCATOR_TCMALLOC)
60 static bool usingTCMalloc();
64 static void configureTCMalloc();
65 #elif defined(SYS_ALLOCATOR_MIMALLOC)
67 static bool usingMIMalloc();
71 static void configureMIMalloc();
75 static bool usingJEMalloc();
79 static void configureJEMalloc();