Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

atlas::pool::helper Namespace Reference


Classes

struct  atlas::pool::helper::MemBlock
struct  atlas::pool::helper::PoolDestruct
 Record of destruction of one Pool. More...
struct  atlas::pool::helper::SimplePoolDestruct
 Record of destruction of one SimplePool. More...

Functions

size_t lastBit (size_t)
 Straightforward implementation to get the last set bit in d_n.
size_t reducedSize (size_t, size_t)
 Given a < sizeof(MemBlock*), tells how many units of MemBlock* have to be allocated to cover n units of a.
bool operator< (const PoolDestruct &lhs, const PoolDestruct &rhs)
 Sorts PoolDestruct's by the instance number of the Pool.
bool operator< (const SimplePoolDestruct &lhs, const SimplePoolDestruct &rhs)
 Sorts SimplePoolDestruct's by the instance number of the SimplePool.

Variables

std::vector< PoolDestructpoolDestructions
 Entry #j is the record of destruction of the jth instance of Pool.
std::vector< SimplePoolDestructsimplePoolDestructions
 Entry #j is the record of destruction of the jth instance of SimplePool.


Function Documentation

size_t atlas::pool::helper::lastBit size_t  d_n  ) 
 

Straightforward implementation to get the last set bit in d_n.

Definition at line 579 of file pool.cpp.

bool operator< const SimplePoolDestruct &  lhs,
const SimplePoolDestruct &  rhs
[inline]
 

Sorts SimplePoolDestruct's by the instance number of the SimplePool.

Definition at line 104 of file pool.cpp.

References atlas::pool::helper::SimplePoolDestruct::d_instance.

Referenced by atlas::bitset::BitSet< numFlags >::operator<().

bool operator< const PoolDestruct &  lhs,
const PoolDestruct &  rhs
[inline]
 

Sorts PoolDestruct's by the instance number of the Pool.

Definition at line 78 of file pool.cpp.

References atlas::pool::helper::PoolDestruct::d_instance.

size_t atlas::pool::helper::reducedSize size_t  n,
size_t  a
 

Given a < sizeof(MemBlock*), tells how many units of MemBlock* have to be allocated to cover n units of a.

Definition at line 597 of file pool.cpp.

Referenced by atlas::pool::Pool::allocate(), and atlas::pool::Pool::deallocate().


Variable Documentation

std::vector<PoolDestruct> atlas::pool::helper::poolDestructions
 

Entry #j is the record of destruction of the jth instance of Pool.

Definition at line 86 of file pool.cpp.

Referenced by atlas::pool::Pool::memoryReport(), and atlas::pool::Pool::reportDestruction().

std::vector<SimplePoolDestruct> atlas::pool::helper::simplePoolDestructions
 

Entry #j is the record of destruction of the jth instance of SimplePool.

Definition at line 113 of file pool.cpp.

Referenced by atlas::pool::SimplePool::memoryReport(), and atlas::pool::SimplePool::reportDestruction().


Generated on Wed Mar 26 16:53:00 2008 for atlas by  doxygen 1.3.9.1