Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4AllocStats Class Reference

#include <G4EnhancedVecAllocator.hh>

Static Public Attributes

static G4ThreadLocal G4ChunkIndexTypeallocStat
 Utility class, placeholder for global data on allocation. Initialisation to zero of the data below must be added ONCE only directly in the client code, where this allocator is to be applied.
static G4ThreadLocal G4int totSpace
static G4ThreadLocal G4int numCat

Detailed Description

Definition at line 54 of file G4EnhancedVecAllocator.hh.

Member Data Documentation

◆ allocStat

G4ThreadLocal G4ChunkIndexType* G4AllocStats::allocStat
static

Utility class, placeholder for global data on allocation. Initialisation to zero of the data below must be added ONCE only directly in the client code, where this allocator is to be applied.

Definition at line 64 of file G4EnhancedVecAllocator.hh.

Referenced by G4EnhancedVecAllocator< _Tp >::allocate(), and G4EnhancedVecAllocator< _Tp >::deallocate().

◆ numCat

◆ totSpace

G4ThreadLocal G4int G4AllocStats::totSpace
static

Definition at line 65 of file G4EnhancedVecAllocator.hh.

Referenced by G4EnhancedVecAllocator< _Tp >::allocate().


The documentation for this class was generated from the following file: