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 */
Definition: PoolChunked.h:21
const Value * find(FindValue const &, int(*compare)(FindValue const &a, Value const &b)) const
Definition: splay.h:305
MemPoolChunked(const char *label, size_t obj_size)
Definition: PoolChunked.cc:141
int getInUseCount() const
the difference between the number of alloc() and freeOne() calls
Definition: Allocator.h:59
Definition: splay.h:49
size_t countSavedAllocs
the number of malloc()/calloc() calls avoided since last flush
Definition: Allocator.h:101
static int memCompObjChunks(void *const &, MemChunk *const &)
Definition: PoolChunked.cc:92
const size_t objectSize
the size (in bytes) of objects managed by this allocator
Definition: Allocator.h:112
Definition: PoolChunked.h:54
void convertFreeCacheToChunkFreeCache()
Definition: PoolChunked.cc:336
static int memCompChunks(MemChunk *const &, MemChunk *const &)
Definition: PoolChunked.cc:80
Definition: Stats.h:17
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products