ROOT  6.06/08
Reference Guide
Macros | 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)
 

Variables

static const char * gSpaceErr = "storage exhausted"
 
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

§ MEM_CHECKOBJECTPOINTERS

#define MEM_CHECKOBJECTPOINTERS

Definition at line 44 of file TStorage.cxx.

§ MEM_DEBUG

#define MEM_DEBUG

Definition at line 42 of file TStorage.cxx.

§ MEM_STAT

#define MEM_STAT

Definition at line 43 of file TStorage.cxx.

§ PVOID

#define PVOID   (-1)

Definition at line 61 of file TStorage.cxx.

§ storage_size

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

Definition at line 55 of file TStorage.cxx.

Referenced by TStorage::RemoveStat().

Variable Documentation

§ gAllocated

Int_t gAllocated[kObjMaxSize]
static

Definition at line 80 of file TStorage.cxx.

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

§ gAllocatedTotal

Int_t gAllocatedTotal
static

Definition at line 81 of file TStorage.cxx.

Referenced by TStorage::PrintStatistics().

§ gFreed

Int_t gFreed[kObjMaxSize]
static

Definition at line 80 of file TStorage.cxx.

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

§ gFreedTotal

Int_t gFreedTotal
static

Definition at line 81 of file TStorage.cxx.

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

§ gMemIndex

Int_t gMemIndex = -1
static

Definition at line 84 of file TStorage.cxx.

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

§ gMemSize

Int_t gMemSize = -1
static

§ gMemStatistics

Bool_t gMemStatistics
static

§ gSpaceErr

const char* gSpaceErr = "storage exhausted"
static

§ gTraceArray

void** gTraceArray = 0
static

Definition at line 82 of file TStorage.cxx.

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

§ gTraceCapacity

Int_t gTraceCapacity = 10
static

Definition at line 83 of file TStorage.cxx.

Referenced by TStorage::EnterStat().

§ gTraceIndex

Int_t gTraceIndex = 0
static

Definition at line 83 of file TStorage.cxx.

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

§ kObjMaxSize

const size_t kObjMaxSize = 10024

Definition at line 77 of file TStorage.cxx.

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