90#if defined(__GNUC__) && !defined(__clang__)
92#pragma GCC diagnostic ignored "-Wframe-address"
122 transform(opt.begin(), opt.end(), opt.begin(),
125 useBuiltin = (opt.find(
"gnubuiltin") != string::npos) ?
kTRUE :
kFALSE;
128 TMemStatMng::GetInstance()->SetUseGNUBuiltinBacktrace(useBuiltin);
129 TMemStatMng::GetInstance()->SetBufferSize(buffersize);
130 TMemStatMng::GetInstance()->SetMaxCalls(maxcalls);
131 TMemStatMng::GetInstance()->Enable();
143 TMemStatMng::GetInstance()->Disable();
144 TMemStatMng::GetInstance()->Close();
153 TMemStatMng::Close();
161 TMemStatMng::GetInstance()->Disable();
169 TMemStatMng::GetInstance()->Enable();
178 gROOT->ProcessLine(action);
static void update(gsl_integration_workspace *workspace, double a1, double b1, double area1, double error1, double a2, double b2, double area2, double error2)
#define _GET_CALLER_FRAME_ADDR
Small helper to keep current directory context.
virtual void Disable()
Disable memory statistics.
virtual ~TMemStat()
destructor
static void Close()
close the TMemStat manager
TMemStat(Option_t *option="read", Int_t buffersize=10000, Int_t maxcalls=5000000)
Supported options: "gnubuiltin" - if declared, then MemStat will use gcc build-in function,...
virtual void Enable()
Enable memory statistics.
static void Show(Double_t update=0.1, Int_t nbigleaks=20, const char *fname="*")
Show results.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.