11 #ifndef ROOT_TMemStatMng 12 #define ROOT_TMemStatMng 20 #ifndef ROOT_TTimeStamp 24 #ifndef ROOT_TMemStatHook 27 #ifndef ROOT_TMemStatDef 64 memset(
fValue, 0, g_digestSize);
67 memcpy(
fValue, _val, g_digestSize);
83 typedef std::map<SCustomDigest, Int_t>
CRCSet_t;
94 void SetBufferSize(
Int_t buffersize);
95 void SetMaxCalls(
Int_t maxcalls);
100 fUseGNUBuiltinBacktrace = newVal;
104 #if !defined(__APPLE__) 109 void AddPointer(
void *ptr,
Int_t size);
111 static void *AllocHook(
size_t size,
const void* );
112 static void FreeHook(
void* ptr,
const void* );
113 static void MacAllocHook(
void *ptr,
size_t size);
114 static void MacFreeHook(
void *ptr);
116 void **stackPointers);
bool add(ULong_t addr, Int_t idx)
void SetUseGNUBuiltinBacktrace(Bool_t newVal)
static TMemStatMng * fgInstance
tree to dump information
const UShort_t g_digestSize
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
SCustomDigest(UChar_t _val[g_digestSize])
UChar_t fValue[g_digestSize]
Container_t::value_type value_type
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
bool operator<(const SCustomDigest &a, const SCustomDigest &b)
void Init(TClassEdit::TInterpreterLookupHelper *helper)
TTree * fDumpTree
file to dump current information
void *(* MallocHookFunc_t)(size_t size, const void *caller)
Bool_t fUseGNUBuiltinBacktrace
tomato 1-D histogram with an int per channel (see TH1 documentation)}
void(* FreeHookFunc_t)(void *ptr, const void *caller)
unsigned long long ULong64_t
std::map< SCustomDigest, Int_t > CRCSet_t
The TTimeStamp encapsulates seconds and ns since EPOCH.
TMemStatHook::MallocHookFunc_t fPreviousMallocHook
Container_t::iterator pos_type
Mother of all ROOT objects.
void FillTree(TTree &myTree, const RooDataSet &data)
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
A TTree object has a header with a name and a title.
TMemStatHook::FreeHookFunc_t fPreviousFreeHook
old malloc function
TMemStatFAddrContainer fFAddrs
std::map< ULong_t, Int_t > Container_t