|
Squid Web Cache master
|
Go to the source code of this file.
Functions | |
| void * | memAllocBuf (const size_t netSize, size_t *const grossSize) |
| void * | memReallocBuf (void *const oldBuf, const size_t netSize, size_t *const grossSize) |
| void | memFree (void *memory, int) |
| Free a element allocated by memAllocate() | |
| void | memFreeBuf (size_t, void *const buf) |
| static void | myFree (void *const buf) |
| FREE * | memFreeBufFunc (size_t) |
Variables | |
| static int | Alive = 0 |
Definition at line 46 of file minimal.cc.
| void memFree | ( | void * | memory, |
| int | type | ||
| ) |
Definition at line 61 of file minimal.cc.
| void memFreeBuf | ( | size_t | size, |
| void *const | buf | ||
| ) |
Definition at line 67 of file minimal.cc.
Definition at line 79 of file minimal.cc.
Definition at line 54 of file minimal.cc.
|
static |
|
static |
The number of currently alive objects (poor man's meter.alloc=meter.inuse). Technically, this is supposed to be a per-allocator statistics, but AllocatorProxy is not a Mem::Allocator so we maintain a global counter instead. We probably do not have to maintain this statistics at all.
Definition at line 17 of file minimal.cc.