![]() |
ROOT 6.07/09 Reference Guide |
Classes | |
struct | SCustomDigest |
struct | SFind_t |
class | TMemStatFAddrContainer |
class | TMemStatMng |
struct | ToLower_t |
Functions | |
size_t | builtin_return_address (void **_container, size_t _limit) |
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) |
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... | |
void | getSymbolFullInfo (void *_pAddr, TString *_retInfo, const char *const _seporator=" | ") |
int | getSymbols (void *_pAddr, TString &, TString &_strLib, TString &_strSymbol) |
get the name of the function and library More... | |
bool | operator< (const SCustomDigest &a, const SCustomDigest &b) |
static void * | return_address (int _frame) |
we have a limit on the depth = 35 More... | |
Variables | |
const size_t | g_BTStackLevel = 50 |
const UShort_t | g_digestSize = 16 |
size_t Memstat::builtin_return_address | ( | void ** | _container, |
size_t | _limit | ||
) |
Definition at line 121 of file TMemStatBacktrace.cxx.
demangle symbols
Definition at line 211 of file TMemStatBacktrace.cxx.
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 138 of file TMemStatBacktrace.cxx.
void Memstat::getSymbolFullInfo | ( | void * | _pAddr, |
TString * | _retInfo, | ||
const char *const | _seporator = " | " |
||
) |
Definition at line 185 of file TMemStatBacktrace.cxx.
int Memstat::getSymbols | ( | void * | _pAddr, |
TString & | _strInfo, | ||
TString & | _strLib, | ||
TString & | _strSymbol | ||
) |
get the name of the function and library
Definition at line 155 of file TMemStatBacktrace.cxx.
|
inline |
Definition at line 72 of file TMemStatMng.h.
|
static |
we have a limit on the depth = 35
Definition at line 70 of file TMemStatBacktrace.cxx.
const size_t Memstat::g_BTStackLevel = 50 |
Definition at line 17 of file TMemStatDef.h.
const UShort_t Memstat::g_digestSize = 16 |
Definition at line 61 of file TMemStatMng.h.