#include <MemCheck.h>
Public Member Functions | |
| ~TMemHashTable () | |
| ~TMemHashTable () | |
Static Public Member Functions | |
| static void | Init () |
| static void | RehashLeak (Int_t newSize) |
| static void * | AddPointer (size_t size, void *ptr=0) |
| static void | FreePointer (void *p) |
| static void | Dump () |
| static void | Init () |
| static void | RehashLeak (Int_t newSize) |
| static void * | AddPointer (size_t size, void *ptr=0) |
| static void | FreePointer (void *p) |
| static void | Dump () |
Static Public Attributes | |
| static Int_t | fgSize |
| static TMemTable ** | fgLeak |
| static Int_t | fgAllocCount |
| static TStackTable | fgStackTable |
| static TDeleteTable | fgMultDeleteTable |
| static TMemTable ** | fgLeak |
Definition at line 127 of file MemCheck.h.
| TMemHashTable::~TMemHashTable | ( | ) | [inline] |
| TMemHashTable::~TMemHashTable | ( | ) | [inline] |
| void TMemHashTable::Init | ( | ) | [static] |
Definition at line 242 of file MemCheck.cxx.
References TDeleteTable::fAllocCount, TMemTable::fAllocCount, TMemTable::fFirstFreeSpot, fgAllocCount, fgLeak, fgMultDeleteTable, fgSize, fgStackTable, TMemTable::fLeaks, TDeleteTable::fLeaks, TMemTable::fMemSize, TDeleteTable::fTableSize, TMemTable::fTableSize, i, TStackTable::Init(), and malloc().
Referenced by AddPointer().
| void TMemHashTable::RehashLeak | ( | Int_t | newSize | ) | [static] |
Definition at line 264 of file MemCheck.cxx.
References Error, TMemTable::fAllocCount, TMemTable::fFirstFreeSpot, fgLeak, fgSize, TMemTable::fLeaks, TMemTable::fMemSize, TMemTable::fTableSize, hash, TString::Hash(), i, if(), malloc(), and realloc().
Referenced by AddPointer().
| void * TMemHashTable::AddPointer | ( | size_t | size, | |
| void * | ptr = 0 | |||
| ) | [static] |
Definition at line 316 of file MemCheck.cxx.
References Error, TMemInfo::fAddress, TMemTable::fAllocCount, TMemTable::fFirstFreeSpot, fgAllocCount, fgLeak, fgSize, fgStackTable, TStackTable::FindInfo(), TMemTable::fLeaks, TMemTable::fMemSize, for(), TMemInfo::fSize, TMemInfo::fStackIndex, TMemTable::fTableSize, get_stack_pointer(), TStackTable::GetIndex(), hash, TString::Hash(), i, if(), info, Init(), int, j, malloc(), p, realloc(), RehashLeak(), and stack_history_size.
Referenced by CustomReAlloc1(), CustomReAlloc2(), and operator new().
| void TMemHashTable::FreePointer | ( | void * | p | ) | [static] |
Definition at line 383 of file MemCheck.cxx.
References TMemInfo::fAddress, TMemTable::fAllocCount, TMemTable::fFirstFreeSpot, fgAllocCount, fgLeak, fgSize, fgStackTable, TMemTable::fLeaks, TMemTable::fMemSize, free(), TMemInfo::fSize, TMemInfo::fStackIndex, TMemTable::fTableSize, TStackTable::GetInfo(), hash, TString::Hash(), i, if(), info, and int.
Referenced by operator delete().
| void TMemHashTable::Dump | ( | ) | [static] |
Definition at line 439 of file MemCheck.cxx.
References Error, TSystem::ExpandPathName(), fclose(), fgStackTable, TStackTable::First(), fopen, fp, fprintf(), gEnv, TEnv::GetValue(), gSystem, and info.
Referenced by ~TMemHashTable().
| static void TMemHashTable::Init | ( | ) | [static] |
| static void TMemHashTable::RehashLeak | ( | Int_t | newSize | ) | [static] |
| static void* TMemHashTable::AddPointer | ( | size_t | size, | |
| void * | ptr = 0 | |||
| ) | [static] |
| static void TMemHashTable::FreePointer | ( | void * | p | ) | [static] |
| static void TMemHashTable::Dump | ( | ) | [static] |
static Int_t TMemHashTable::fgSize [static] |
Definition at line 129 of file MemCheck.h.
Referenced by AddPointer(), FreePointer(), Init(), and RehashLeak().
TMemTable ** TMemHashTable::fgLeak [static] |
Definition at line 130 of file MemCheck.h.
Referenced by AddPointer(), FreePointer(), Init(), and RehashLeak().
static Int_t TMemHashTable::fgAllocCount [static] |
static TStackTable TMemHashTable::fgStackTable [static] |
Definition at line 132 of file MemCheck.h.
Referenced by AddPointer(), Dump(), FreePointer(), and Init().
static TDeleteTable TMemHashTable::fgMultDeleteTable [static] |
TMemTable** TMemHashTable::fgLeak [static] |
Definition at line 130 of file MemCheck.h.
1.5.1