11 #ifndef ROOT_TMemStatMng 12 #define ROOT_TMemStatMng 56 memset(
fValue, 0, g_digestSize);
59 memcpy(
fValue, _val, g_digestSize);
75 typedef std::map<SCustomDigest, Int_t>
CRCSet_t;
86 void SetBufferSize(
Int_t buffersize);
87 void SetMaxCalls(
Int_t maxcalls);
92 fUseGNUBuiltinBacktrace = newVal;
96 #if !defined(__APPLE__) 101 void AddPointer(
void *ptr,
Int_t size);
103 static void *AllocHook(
size_t size,
const void* );
104 static void FreeHook(
void* ptr,
const void* );
105 static void MacAllocHook(
void *ptr,
size_t size);
106 static void MacFreeHook(
void *ptr);
108 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)
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