![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
26 #define MP_NEW(Class) new(LWPools::acquire(sizeof(Class))) Class
27 #define MP_DELETE(Ptr) LWPools::deleteObject(Ptr)
42 template<
class T,
unsigned length>
static T*
acquire();
43 template<
class T,
unsigned length>
static void release(
T*);
static long long getTotalPoolMemUsed()
static long long getTotalPoolMemAllocated()
static void release(char *, unsigned length)
static void release(char *c)
static PoolList s_pools ATLAS_THREAD_SAFE
static void release(T *, unsigned length)
static char * acquire(unsigned length)
LWPools & operator=(const LWPools &)
static std::atomic< long long > s_bytesDynAlloc
static T * acquire(unsigned length)
static void deleteObject(T *)
static LWPool * getPool(unsigned length)
Define macros for attributes used to control the static checker.
static LWPool * initPool(unsigned poolIndex, unsigned length)