Pool.cc
Go to the documentation of this file.
283 stats->tot_overhead += pp_stats.overhead + MemPools::GetInstance().poolCount * sizeof(MemAllocator *);
306 MemImplementingAllocator::MemImplementingAllocator(char const *aLabel, size_t aSize) : MemAllocator(aLabel),
335 for (find_pool = MemPools::GetInstance().pools, prev_pool = NULL; (find_pool && this != find_pool); find_pool = find_pool->next)
virtual void * allocate()=0
static CodeContext::Pointer & Instance()
guarantees the forever existence of the pointer, starting from the first use
Definition: CodeContext.cc:26
class Ping::pingStats_ stats
Definition: PoolChunked.h:22
Definition: Pool.h:70
virtual void clean(time_t maxage)=0
Definition: Pool.h:179
MemImplementingAllocator * memPoolIterateNext(MemPoolIterator *iter)
Definition: Pool.cc:55
virtual bool idleTrigger(int shift) const =0
virtual void deallocate(void *, bool aggressive)=0
Definition: PoolMalloc.h:37
virtual MemPoolMeter const & getMeter() const
Definition: Pool.cc:349
Definition: Pool.h:241
MemImplementingAllocator(char const *aLabel, size_t aSize)
Definition: Pool.cc:306
Definition: Pool.h:280
virtual int getStats(MemPoolStats *stats, int accumulate=0)=0
virtual int getInUseCount()=0
Definition: Pool.h:117
MemImplementingAllocator * create(const char *label, size_t obj_size)
Definition: Pool.cc:91
Definition: Pool.h:303
virtual ~MemImplementingAllocator()
Definition: Pool.cc:327
Definition: Pool.h:93