Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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:

Namespaces

namespace  ROOT
 This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
 

Macros

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

Variables

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

Macro Definition Documentation

◆ MEM_CHECKOBJECTPOINTERS

#define MEM_CHECKOBJECTPOINTERS

Definition at line 45 of file TStorage.cxx.

◆ MEM_DEBUG

#define MEM_DEBUG

Definition at line 43 of file TStorage.cxx.

◆ MEM_STAT

#define MEM_STAT

Definition at line 44 of file TStorage.cxx.

◆ PVOID

#define PVOID   (-1)

Definition at line 62 of file TStorage.cxx.

◆ storage_size

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

Definition at line 56 of file TStorage.cxx.

Variable Documentation

◆ gAllocated

Int_t gAllocated[kObjMaxSize]
static

Definition at line 80 of file TStorage.cxx.

◆ gAllocatedTotal

Int_t gAllocatedTotal
static

Definition at line 81 of file TStorage.cxx.

◆ gFreed

Int_t gFreed[kObjMaxSize]
static

Definition at line 80 of file TStorage.cxx.

◆ gFreedTotal

Int_t gFreedTotal
static

Definition at line 81 of file TStorage.cxx.

◆ gMemIndex

Int_t gMemIndex = -1
static

Definition at line 84 of file TStorage.cxx.

◆ gMemSize

Int_t gMemSize = -1
static

Definition at line 84 of file TStorage.cxx.

◆ gMemStatistics

Bool_t gMemStatistics
static

Definition at line 79 of file TStorage.cxx.

◆ gSpaceErr

const char* gSpaceErr = "storage exhausted"
static

Definition at line 75 of file TStorage.cxx.

◆ gTraceArray

void** gTraceArray = nullptr
static

Definition at line 82 of file TStorage.cxx.

◆ gTraceCapacity

Int_t gTraceCapacity = 10
static

Definition at line 83 of file TStorage.cxx.

◆ gTraceIndex

Int_t gTraceIndex = 0
static

Definition at line 83 of file TStorage.cxx.

◆ kObjMaxSize

const size_t kObjMaxSize = 10024

Definition at line 77 of file TStorage.cxx.