ROOT  6.06/09
Reference Guide
Macros | Functions | Variables
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"
+ Include dependency graph for TStorage.cxx:

Go to the source code of this file.

Macros

#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
 

Macro Definition Documentation

#define MEM_CHECKOBJECTPOINTERS

Definition at line 44 of file TStorage.cxx.

#define MEM_DEBUG

Definition at line 42 of file TStorage.cxx.

#define MEM_STAT

Definition at line 43 of file TStorage.cxx.

#define PVOID   (-1)

Definition at line 61 of file TStorage.cxx.

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

Definition at line 55 of file TStorage.cxx.

Referenced by TStorage::RemoveStat().

Function Documentation

ClassImp ( TStorage  ) const

Variable Documentation

Int_t gAllocated[kObjMaxSize]
static

Definition at line 80 of file TStorage.cxx.

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

Int_t gAllocatedTotal
static

Definition at line 81 of file TStorage.cxx.

Referenced by TStorage::PrintStatistics().

Int_t gFreed[kObjMaxSize]
static

Definition at line 80 of file TStorage.cxx.

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

Int_t gFreedTotal
static

Definition at line 81 of file TStorage.cxx.

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

Int_t gMemIndex = -1
static

Definition at line 84 of file TStorage.cxx.

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

Int_t gMemSize = -1
static
Bool_t gMemStatistics
static
void** gTraceArray = 0
static

Definition at line 82 of file TStorage.cxx.

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

Int_t gTraceCapacity = 10
static

Definition at line 83 of file TStorage.cxx.

Referenced by TStorage::EnterStat().

Int_t gTraceIndex = 0
static

Definition at line 83 of file TStorage.cxx.

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

const size_t kObjMaxSize = 10024

Definition at line 77 of file TStorage.cxx.

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