HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_ArenaInfo Class Reference

#include <UT_ArenaInfo.h>

Static Public Member Functions

static size_t arenaSize ()
 
static size_t totalInUse ()
 
static void outputUsage (std::ostream &os, bool output_in_bytes=false)
 Print memory/arena usage to the stream (with a terminating new line) More...
 
static void outputUsage (UT_WorkBuffer &wbuf, bool in_bytes=false)
 Print memory usage into a work buffer (without terminating new line) More...
 
static bool usingJEMalloc ()
 
static void configureJEMalloc ()
 

Detailed Description

Definition at line 22 of file UT_ArenaInfo.h.

Member Function Documentation

static size_t UT_ArenaInfo::arenaSize ( )
static
static void UT_ArenaInfo::configureJEMalloc ( )
static

Set our config options for jemalloc. Note that this should be (re)done after forking since some options may be reset.

static void UT_ArenaInfo::outputUsage ( std::ostream &  os,
bool  output_in_bytes = false 
)
static

Print memory/arena usage to the stream (with a terminating new line)

static void UT_ArenaInfo::outputUsage ( UT_WorkBuffer wbuf,
bool  in_bytes = false 
)
static

Print memory usage into a work buffer (without terminating new line)

static size_t UT_ArenaInfo::totalInUse ( )
static
static bool UT_ArenaInfo::usingJEMalloc ( )
static

Returns true if the current session has successfully bound JE Malloc.


The documentation for this class was generated from the following file: