memstat Namespace Reference


Classes

struct  SFind_t
struct  ToLower_t
class  TMemStatFAddrContainer
struct  SCustomDigest
class  TMemStatMng

Namespaces

namespace  ROOT

Functions

size_t getBacktrace (void **_trace, size_t _size, Bool_t _bUseGNUBuiltinBacktrace=kFALSE)
int getSymbols (void *_pAddr, TString &_strInfo, TString &_strLib, TString &_strSymbol)
void getSymbolFullInfo (void *_pAddr, TString *_retInfo, const char *const _seporator=" | ")
void demangle (char *_codeInfo, TString &_str)
std::string dig2bytes (Long64_t bytes)
template<class T>
Int_t find_string (const T &_Container, const TString &_ToFind)
bool operator< (const SCustomDigest &a, const SCustomDigest &b)
static void * return_address (int _frame)
size_t builtin_return_address (void **_container, size_t _limit)
string dig2bytes (Long64_t bytes)

Variables

const size_t g_BTStackLevel = 50
const UShort_t g_digestSize = 16
const size_t g_BTStackLevel = 50
const UShort_t g_digestSize = 16


Function Documentation

size_t memstat::builtin_return_address ( void **  _container,
size_t  _limit 
)

Definition at line 114 of file TMemStatBacktrace.cxx.

References i, return_address(), and size_t.

Referenced by getBacktrace().

void memstat::demangle ( char *  _codeInfo,
TString _str 
)

Definition at line 202 of file TMemStatBacktrace.cxx.

References free().

Referenced by G__G__MemStat_116_0_5(), G__setup_memfuncmemstat(), and TUnixSystem::StackTrace().

string memstat::dig2bytes ( Long64_t  bytes  ) 

Definition at line 22 of file TMemStatHelpers.cxx.

std::string memstat::dig2bytes ( Long64_t  bytes  ) 

Definition at line 22 of file TMemStatHelpers.cxx.

Referenced by G__G__MemStat_116_0_1(), and G__setup_memfuncmemstat().

template<class T>
Int_t memstat::find_string ( const T _Container,
const TString _ToFind 
)

Definition at line 42 of file TMemStatHelpers.h.

References RootCsg::distance(), and Rgl::Pad::End().

size_t memstat::getBacktrace ( void **  _trace,
size_t  _size,
Bool_t  _bUseGNUBuiltinBacktrace = kFALSE 
)

Definition at line 124 of file TMemStatBacktrace.cxx.

References builtin_return_address().

Referenced by memstat::TMemStatMng::AddPointer(), G__G__MemStat_116_0_2(), and G__setup_memfuncmemstat().

void memstat::getSymbolFullInfo ( void *  _pAddr,
TString _retInfo,
const char *const  _seporator = " | " 
)

Definition at line 177 of file TMemStatBacktrace.cxx.

References getSymbols().

Referenced by G__G__MemStat_116_0_4(), and G__setup_memfuncmemstat().

int memstat::getSymbols ( void *  _pAddr,
TString _strInfo,
TString _strLib,
TString _strSymbol 
)

Definition at line 146 of file TMemStatBacktrace.cxx.

References free(), info, and NULL.

Referenced by G__G__MemStat_116_0_3(), G__setup_memfuncmemstat(), and getSymbolFullInfo().

bool memstat::operator< ( const SCustomDigest &  a,
const SCustomDigest &  b 
) [inline]

Definition at line 64 of file TMemStatMng.h.

References a, b, g_digestSize, and i.

static void* memstat::return_address ( int  _frame  )  [static]

Definition at line 62 of file TMemStatBacktrace.cxx.

Referenced by builtin_return_address(), and builtin_return_address().


Variable Documentation

const size_t memstat::g_BTStackLevel = 50

Definition at line 15 of file TMemStatDef.h.

const size_t memstat::g_BTStackLevel = 50

Definition at line 15 of file TMemStatDef.h.

Referenced by memstat::TMemStatMng::AddPointer(), and G__setup_memvarmemstat().

const UShort_t memstat::g_digestSize = 16

Definition at line 53 of file TMemStatMng.h.

const UShort_t memstat::g_digestSize = 16

Definition at line 53 of file TMemStatMng.h.

Referenced by memstat::TMemStatMng::AddPointer(), G__setup_memvarmemstat(), memstat::TMemStatMng::generateBTID(), operator<(), and memstat::SCustomDigest::SCustomDigest().


Generated on Tue Jul 5 16:56:28 2011 for ROOT_528-00b_version by  doxygen 1.5.1