#include <PoolChunked.h>
Public Member Functions | |
MemChunk (MemPoolChunked *pool) | |
~MemChunk () | |
Public Attributes | |
void * | freeList |
void * | objCache |
int | inuse_count |
MemChunk * | nextFreeChunk |
MemChunk * | next |
time_t | lastref |
MemPoolChunked * | pool |
Detailed Description
Definition at line 54 of file PoolChunked.h.
Constructor & Destructor Documentation
◆ MemChunk()
MemChunk::MemChunk | ( | MemPoolChunked * | pool | ) |
Definition at line 104 of file PoolChunked.cc.
References MemPoolChunked::allChunks, Mem::PoolMeter::alloc, MemPoolChunked::chunk_capacity, MemPoolChunked::chunk_size, MemPoolChunked::chunkCount, Mem::Allocator::doZero, freeList, Mem::PoolMeter::idle, Splay< V >::insert(), inuse_count, lastref, memCompChunks(), Mem::Allocator::meter, next, MemPoolChunked::nextFreeChunk, nextFreeChunk, objCache, Mem::Allocator::objectSize, pool, squid_curtime, VALGRIND_MAKE_MEM_NOACCESS, xcalloc(), and xmalloc.
◆ ~MemChunk()
MemChunk::~MemChunk | ( | ) |
Definition at line 154 of file PoolChunked.cc.
References MemPoolChunked::allChunks, Mem::PoolMeter::alloc, MemPoolChunked::chunk_capacity, MemPoolChunked::chunkCount, Mem::PoolMeter::idle, memCompChunks(), Mem::Allocator::meter, objCache, pool, Splay< V >::remove(), and xfree.
Member Data Documentation
◆ freeList
void* MemChunk::freeList |
Definition at line 59 of file PoolChunked.h.
Referenced by MemChunk(), MemPoolChunked::convertFreeCacheToChunkFreeCache(), and MemPoolChunked::get().
◆ inuse_count
int MemChunk::inuse_count |
Definition at line 61 of file PoolChunked.h.
Referenced by MemChunk(), MemPoolChunked::clean(), MemPoolChunked::convertFreeCacheToChunkFreeCache(), MemPoolChunked::get(), and MemPoolChunked::getStats().
◆ lastref
time_t MemChunk::lastref |
Definition at line 64 of file PoolChunked.h.
Referenced by MemChunk(), MemPoolChunked::clean(), MemPoolChunked::convertFreeCacheToChunkFreeCache(), and MemPoolChunked::get().
◆ next
MemChunk* MemChunk::next |
Definition at line 63 of file PoolChunked.h.
Referenced by MemChunk(), MemPoolChunked::~MemPoolChunked(), MemPoolChunked::clean(), MemPoolChunked::createChunk(), and MemPoolChunked::getStats().
◆ nextFreeChunk
MemChunk* MemChunk::nextFreeChunk |
Definition at line 62 of file PoolChunked.h.
Referenced by MemChunk(), MemPoolChunked::clean(), and MemPoolChunked::get().
◆ objCache
void* MemChunk::objCache |
Definition at line 60 of file PoolChunked.h.
Referenced by MemChunk(), ~MemChunk(), MemPoolChunked::clean(), MemPoolChunked::createChunk(), memCompChunks(), and memCompObjChunks().
◆ pool
MemPoolChunked* MemChunk::pool |
Definition at line 65 of file PoolChunked.h.
Referenced by MemChunk(), ~MemChunk(), and memCompObjChunks().
The documentation for this class was generated from the following files:
- src/mem/PoolChunked.h
- src/mem/PoolChunked.cc