TStorage.cxx File Reference

#include <stdlib.h>
#include "TROOT.h"
#include "TObjectTable.h"
#include "TError.h"
#include "TString.h"
#include "TVirtualMutex.h"
#include "TInterpreter.h"

Go to the source code of this file.

Defines

#define MEM_DEBUG
#define MEM_STAT
#define MEM_CHECKOBJECTPOINTERS
#define storage_size(p)   ((size_t)(((int*)p)[-2]))
#define PVOID   (-1)

Functions

 ClassImp (TStorage) static const char *gSpaceErr

Variables

const size_t kObjMaxSize = 10024
static Bool_t gMemStatistics
static Int_t gAllocated [kObjMaxSize]
static Int_t gFreed [kObjMaxSize]
static Int_t gAllocatedTotal
static Int_t gFreedTotal
static void ** gTraceArray = 0
static Int_t gTraceCapacity = 10
static Int_t gTraceIndex = 0
static Int_t gMemSize = -1
static Int_t gMemIndex = -1


Define Documentation

#define MEM_CHECKOBJECTPOINTERS

Definition at line 46 of file TStorage.cxx.

#define MEM_DEBUG

Definition at line 44 of file TStorage.cxx.

#define MEM_STAT

Definition at line 45 of file TStorage.cxx.

#define PVOID   (-1)

Definition at line 63 of file TStorage.cxx.

Referenced by gdk_pixmap_new(), and TStorage::ObjectDealloc().

#define storage_size ( p   )     ((size_t)(((int*)p)[-2]))

Definition at line 57 of file TStorage.cxx.

Referenced by CustomReAlloc1(), CustomReAlloc2(), operator delete(), and TStorage::RemoveStat().


Function Documentation

ClassImp ( TStorage   )  const


Variable Documentation

Int_t gAllocated[kObjMaxSize] [static]

Definition at line 84 of file TStorage.cxx.

Referenced by TStorage::EnterStat(), and TStorage::PrintStatistics().

Int_t gAllocatedTotal [static]

Definition at line 85 of file TStorage.cxx.

Referenced by TStorage::PrintStatistics().

Int_t gFreed[kObjMaxSize] [static]

Definition at line 84 of file TStorage.cxx.

Referenced by TStorage::PrintStatistics(), and TStorage::RemoveStat().

Int_t gFreedTotal [static]

Definition at line 85 of file TStorage.cxx.

Referenced by TStorage::PrintStatistics(), and TStorage::RemoveStat().

Int_t gMemIndex = -1 [static]

Definition at line 88 of file TStorage.cxx.

Referenced by TStorage::EnableStatistics(), and TStorage::EnterStat().

Int_t gMemSize = -1 [static]

Definition at line 88 of file TStorage.cxx.

Referenced by TStorage::EnableStatistics(), TStorage::EnterStat(), TStorage::PrintStatistics(), and TStorage::RemoveStat().

Bool_t gMemStatistics [static]

Definition at line 83 of file TStorage.cxx.

Referenced by TStorage::EnableStatistics(), TStorage::PrintStatistics(), and TStorage::RemoveStat().

void** gTraceArray = 0 [static]

Definition at line 86 of file TStorage.cxx.

Referenced by TStorage::PrintStatistics(), and TStorage::RemoveStat().

Int_t gTraceCapacity = 10 [static]

Definition at line 87 of file TStorage.cxx.

Int_t gTraceIndex = 0 [static]

Definition at line 87 of file TStorage.cxx.

Referenced by TStorage::PrintStatistics(), and TStorage::RemoveStat().

const size_t kObjMaxSize = 10024

Definition at line 81 of file TStorage.cxx.

Referenced by TStorage::PrintStatistics(), and TStorage::RemoveStat().


Generated on Tue Jul 5 15:57:16 2011 for ROOT_528-00b_version by  doxygen 1.5.1