ROOT
6.07/01
Reference Guide
|
Classes | |
struct | SFind_t |
struct | ToLower_t |
class | TMemStatFAddrContainer |
struct | SCustomDigest |
class | TMemStatMng |
Functions | |
size_t | getBacktrace (void **_trace, size_t _size, Bool_t _bUseGNUBuiltinBacktrace) |
Get the backtrace _trace - array of pointers _size - maximal deepness of stack information _bUseGNUBuiltinBacktrace - whether to use gcc builtin backtrace or C library one. More... | |
int | getSymbols (void *_pAddr, TString &, TString &_strLib, TString &_strSymbol) |
get the name of the function and library More... | |
void | getSymbolFullInfo (void *_pAddr, TString *_retInfo, const char *const _seporator=" | ") |
void | demangle (char *_codeInfo, TString &_str) |
demangle symbols More... | |
std::string | dig2bytes (Long64_t bytes) |
This function creates a string representation of the number of bytes, represented as a number in B, kB, MB or GB depending on the value. More... | |
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) |
we have a limit on the depth = 35 More... | |
size_t | builtin_return_address (void **_container, size_t _limit) |
Variables | |
const size_t | g_BTStackLevel = 50 |
const UShort_t | g_digestSize = 16 |
Definition at line 115 of file TMemStatBacktrace.cxx.
Referenced by getBacktrace().
demangle symbols
Definition at line 205 of file TMemStatBacktrace.cxx.
Referenced by TUnixSystem::StackTrace().
string Memstat::dig2bytes | ( | Long64_t | bytes | ) |
This function creates a string representation of the number of bytes, represented as a number in B, kB, MB or GB depending on the value.
The result is rounded to a sensible number of digits
Definition at line 26 of file TMemStatHelpers.cxx.
Definition at line 42 of file TMemStatHelpers.h.
Get the backtrace _trace - array of pointers _size - maximal deepness of stack information _bUseGNUBuiltinBacktrace - whether to use gcc builtin backtrace or C library one.
The builtin version is much faster, but very sensitive and in some conditions could fail to return a proper result. return value = min(stack deepness, dsize)
Definition at line 132 of file TMemStatBacktrace.cxx.
Referenced by Memstat::TMemStatMng::AddPointer().
void Memstat::getSymbolFullInfo | ( | void * | _pAddr, |
TString * | _retInfo, | ||
const char *const | _seporator = " | " |
||
) |
Definition at line 179 of file TMemStatBacktrace.cxx.
Referenced by Memstat::TMemStatMng::generateBTID().
int Memstat::getSymbols | ( | void * | _pAddr, |
TString & | _strInfo, | ||
TString & | _strLib, | ||
TString & | _strSymbol | ||
) |
get the name of the function and library
Definition at line 149 of file TMemStatBacktrace.cxx.
Referenced by getSymbolFullInfo().
|
inline |
Definition at line 72 of file TMemStatMng.h.
|
static |
we have a limit on the depth = 35
Definition at line 64 of file TMemStatBacktrace.cxx.
Referenced by builtin_return_address().
const size_t Memstat::g_BTStackLevel = 50 |
Definition at line 17 of file TMemStatDef.h.
Referenced by Memstat::TMemStatMng::AddPointer().
const UShort_t Memstat::g_digestSize = 16 |
Definition at line 61 of file TMemStatMng.h.
Referenced by Memstat::TMemStatMng::AddPointer(), Memstat::TMemStatMng::generateBTID(), operator<(), and Memstat::SCustomDigest::SCustomDigest().