#include <G4AllocatorPool.hh>
Definition at line 50 of file G4AllocatorPool.hh.
G4AllocatorPool::G4AllocatorPool |
( |
unsigned int |
n = 0 | ) |
|
|
explicit |
Definition at line 44 of file G4AllocatorPool.cc.
45 : esize(sz<
sizeof(G4PoolLink) ?
sizeof(G4PoolLink) : sz),
46 csize(sz<1024/2-16 ? 1024-16 : sz*10-16),
47 chunks(0), head(0), nchunks(0)
G4AllocatorPool::~G4AllocatorPool |
( |
| ) |
|
void * G4AllocatorPool::Alloc |
( |
| ) |
|
|
inline |
int G4AllocatorPool::GetNoPages |
( |
| ) |
const |
|
inline |
unsigned int G4AllocatorPool::GetPageSize |
( |
| ) |
const |
|
inline |
void G4AllocatorPool::GrowPageSize |
( |
unsigned int |
factor | ) |
|
|
inline |
void G4AllocatorPool::Reset |
( |
| ) |
|
unsigned int G4AllocatorPool::Size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: