#include "squid.h"
#include "mem/PoolChunked.h"
#include "mem/Stats.h"
#include <cassert>
#include <cstring>
Go to the source code of this file.
Macros | |
#define | MEM_MAX_MMAP_CHUNKS 2048 |
#define | MEM_PAGE_SIZE 4096 |
#define | MEM_MIN_FREE 32 |
#define | MEM_MAX_FREE 65535 /* unsigned short is max number of items per chunk */ |
Functions | |
static int | memCompChunks (MemChunk *const &, MemChunk *const &) |
static int | memCompObjChunks (void *const &, MemChunk *const &) |
Variables | |
time_t | squid_curtime |
Macro Definition Documentation
◆ MEM_MAX_FREE
Definition at line 23 of file PoolChunked.cc.
◆ MEM_MAX_MMAP_CHUNKS
#define MEM_MAX_MMAP_CHUNKS 2048 |
Definition at line 20 of file PoolChunked.cc.
◆ MEM_MIN_FREE
#define MEM_MIN_FREE 32 |
Definition at line 22 of file PoolChunked.cc.
◆ MEM_PAGE_SIZE
#define MEM_PAGE_SIZE 4096 |
Definition at line 21 of file PoolChunked.cc.
Function Documentation
◆ memCompChunks()
Definition at line 80 of file PoolChunked.cc.
References MemChunk::objCache.
Referenced by MemChunk::MemChunk(), and MemChunk::~MemChunk().
◆ memCompObjChunks()
Definition at line 92 of file PoolChunked.cc.
References MemPoolChunked::chunk_size, MemChunk::objCache, and MemChunk::pool.
Referenced by MemPoolChunked::convertFreeCacheToChunkFreeCache().
Variable Documentation
◆ squid_curtime
|
extern |
Definition at line 20 of file stub_libtime.cc.
Referenced by MemChunk::MemChunk(), MemPoolChunked::clean(), MemPoolChunked::convertFreeCacheToChunkFreeCache(), and MemPoolChunked::get().