PoolChunked.cc
Go to the documentation of this file.
275 csize = ((csize + MEM_PAGE_SIZE - 1) / MEM_PAGE_SIZE) * MEM_PAGE_SIZE; /* round up to page size */
288 csize = ((csize + MEM_PAGE_SIZE - 1) / MEM_PAGE_SIZE) * MEM_PAGE_SIZE; /* round up to page size */
static int memCompChunks(MemChunk *const &, MemChunk *const &)
Definition: PoolChunked.cc:80
static int memCompObjChunks(void *const &, MemChunk *const &)
Definition: PoolChunked.cc:92
Definition: PoolChunked.h:55
Definition: PoolChunked.h:22
void convertFreeCacheToChunkFreeCache()
Definition: PoolChunked.cc:336
MemPoolChunked(const char *label, size_t obj_size)
Definition: PoolChunked.cc:141
const size_t objectSize
the size (in bytes) of objects managed by this allocator
Definition: Allocator.h:112
int getInUseCount() const
the difference between the number of alloc() and freeOne() calls
Definition: Allocator.h:59
size_t countSavedAllocs
the number of malloc()/calloc() calls avoided since last flush
Definition: Allocator.h:101
Definition: Stats.h:18
Definition: splay.h:50
Value const * find(FindValue const &, int(*compare)(FindValue const &a, Value const &b)) const
class Ping::pingStats_ stats