TMemStatStackInfo Class Reference

#include <TMemStatInfo.h>

Inheritance diagram for TMemStatStackInfo:

TObject List of all members.

Public Types

enum  

Public Member Functions

 TMemStatStackInfo ()
virtual ~TMemStatStackInfo ()
void Init (Int_t stacksize, void **stackptrs, TMemStatManager *manager, Int_t ID)
void Inc (Int_t memSize, TMemStatManager *manager)
void Dec (Int_t memSize, TMemStatManager *manager)
ULong_t Hash () const
Int_t Equal (UInt_t size, void **ptr)
void * StackAt (UInt_t i)
void MakeStamp (Int_t stampNumber)

Static Public Member Functions

static ULong_t HashStack (UInt_t size, void **ptr)

Public Attributes

UInt_t fSize
TMemStatInfoStamp fLastStamp
TMemStatInfoStamp fCurrentStamp
TMemStatInfoStamp fMaxStampSize
TMemStatInfoStamp fMaxStamp
Int_t fNextHash
void ** fStackSymbols
UInt_tfSymbolIndexes
 Stack Symbols.
UInt_t fStackID

Friends

std::ostream & operator<< (std::ostream &_ostream, const TMemStatStackInfo &_this)

Detailed Description

Definition at line 97 of file TMemStatInfo.h.


Member Enumeration Documentation

anonymous enum

Definition at line 100 of file TMemStatInfo.h.


Constructor & Destructor Documentation

TMemStatStackInfo::TMemStatStackInfo (  ) 

Definition at line 197 of file TMemStatInfo.cxx.

References fCurrentStamp, fLastStamp, fMaxStamp, fMaxStampSize, TMemStatInfoStamp::fStampType, and TMemStatInfoStamp::kStack.

virtual TMemStatStackInfo::~TMemStatStackInfo (  )  [inline, virtual]

Definition at line 112 of file TMemStatInfo.h.


Member Function Documentation

void TMemStatStackInfo::Init ( Int_t  stacksize,
void **  stackptrs,
TMemStatManager manager,
Int_t  ID 
)

Definition at line 218 of file TMemStatInfo.cxx.

References fCurrentStamp, TMemStatInfoStamp::fID, fLastStamp, fSize, fStackID, fStackSymbols, fSymbolIndexes, TMemStatManager::GetCodeInfo(), i, and TMemStatCodeInfo::SetInfo().

void TMemStatStackInfo::Inc ( Int_t  memSize,
TMemStatManager manager 
)

Definition at line 278 of file TMemStatInfo.cxx.

References TMemStatInfoStamp::fAllocCount, TMemStatInfoStamp::fAllocSize, TMemStatManager::fCodeInfoArray, fCurrentStamp, fMaxStamp, fMaxStampSize, fSize, fSymbolIndexes, i, and TMemStatInfoStamp::Inc().

void TMemStatStackInfo::Dec ( Int_t  memSize,
TMemStatManager manager 
)

Definition at line 291 of file TMemStatInfo.cxx.

References TMemStatInfoStamp::fAllocCount, TMemStatInfoStamp::fAllocSize, TMemStatManager::fCodeInfoArray, fCurrentStamp, fSize, fSymbolIndexes, and i.

ULong_t TMemStatStackInfo::Hash (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 147 of file TMemStatInfo.h.

References fSize, fStackSymbols, and HashStack().

int TMemStatStackInfo::Equal ( UInt_t  size,
void **  ptr 
)

Definition at line 240 of file TMemStatInfo.cxx.

References fSize, fStackSymbols, i, and size_t.

void * TMemStatStackInfo::StackAt ( UInt_t  i  )  [inline]

Definition at line 152 of file TMemStatInfo.h.

References fSize, and fStackSymbols.

void TMemStatStackInfo::MakeStamp ( Int_t  stampNumber  ) 

Definition at line 264 of file TMemStatInfo.cxx.

References TMemStatManager::AddStamp(), TMemStatInfoStamp::Equal(), fCurrentStamp, fLastStamp, TMemStatInfoStamp::fStampNumber, and TMemStatManager::GetInstance().

static ULong_t TMemStatStackInfo::HashStack ( UInt_t  size,
void **  ptr 
) [inline, static]

Definition at line 121 of file TMemStatInfo.h.

References TString::Hash().

Referenced by Hash(), and TMemStatManager::STFindInfo().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  _ostream,
const TMemStatStackInfo _this 
) [friend]

Definition at line 302 of file TMemStatInfo.cxx.


Member Data Documentation

UInt_t TMemStatStackInfo::fSize

Definition at line 101 of file TMemStatInfo.h.

Referenced by Dec(), Equal(), TMemStat::GetObjectInfo(), Hash(), Inc(), Init(), TMemStat::MakeGraphStack(), TMemStat::PrintStackWithID(), and StackAt().

TMemStatInfoStamp TMemStatStackInfo::fLastStamp

Definition at line 102 of file TMemStatInfo.h.

Referenced by Init(), MakeStamp(), and TMemStatStackInfo().

TMemStatInfoStamp TMemStatStackInfo::fCurrentStamp

Definition at line 103 of file TMemStatInfo.h.

Referenced by Dec(), Inc(), Init(), MakeStamp(), and TMemStatStackInfo().

TMemStatInfoStamp TMemStatStackInfo::fMaxStampSize

Definition at line 104 of file TMemStatInfo.h.

Referenced by Inc(), and TMemStatStackInfo().

TMemStatInfoStamp TMemStatStackInfo::fMaxStamp

Definition at line 105 of file TMemStatInfo.h.

Referenced by Inc(), and TMemStatStackInfo().

Int_t TMemStatStackInfo::fNextHash

Definition at line 106 of file TMemStatInfo.h.

Referenced by TMemStatManager::STAddInfo().

void** TMemStatStackInfo::fStackSymbols

Definition at line 107 of file TMemStatInfo.h.

Referenced by Equal(), Hash(), Init(), and StackAt().

UInt_t* TMemStatStackInfo::fSymbolIndexes

Stack Symbols.

Definition at line 108 of file TMemStatInfo.h.

Referenced by Dec(), TMemStat::GetObjectInfo(), Inc(), Init(), TMemStat::MakeGraphStack(), and TMemStat::PrintStackWithID().

UInt_t TMemStatStackInfo::fStackID

Definition at line 109 of file TMemStatInfo.h.

Referenced by Init().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:42:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1