|
Squid Web Cache master
|
#include <Meter.h>
Classes | |
| class | mgb_t |
| Object to track per-pool cumulative counters. More... | |
Public Member Functions | |
| void | flush () |
| flush counters back to 0, but leave historic peak records | |
Public Attributes | |
| Meter | alloc |
| Meter | inuse |
| Meter | idle |
| mgb_t | gb_allocated |
| mgb_t | gb_oallocated |
| mgb_t | gb_saved |
| mgb_t | gb_freed |
|
inline |
Definition at line 79 of file Meter.h.
References alloc, Mem::Meter::flush(), gb_allocated, gb_freed, gb_oallocated, gb_saved, idle, and inuse.
Referenced by MemPools::flushMeters().
| Meter Mem::PoolMeter::alloc |
Definition at line 89 of file Meter.h.
Referenced by MemChunk::MemChunk(), MemChunk::~MemChunk(), MemPoolMalloc::allocate(), MemPoolMalloc::clean(), MemPoolMalloc::deallocate(), flush(), MemPools::flushMeters(), GetInfo(), MemPoolChunked::getStats(), MemPoolMalloc::getStats(), Mem::PoolReport(), and snmp_prfSysFn().
| mgb_t Mem::PoolMeter::gb_allocated |
history Allocations
Definition at line 94 of file Meter.h.
Referenced by flush(), Mem::Allocator::flushCounters(), MemPools::flushMeters(), Mem::PoolReport(), and Mem::Report().
| mgb_t Mem::PoolMeter::gb_freed |
account Free calls
Definition at line 101 of file Meter.h.
Referenced by flush(), Mem::Allocator::flushCounters(), MemPools::flushMeters(), and GetInfo().
| mgb_t Mem::PoolMeter::gb_oallocated |
Definition at line 95 of file Meter.h.
Referenced by flush(), and Mem::PoolReport().
| mgb_t Mem::PoolMeter::gb_saved |
account Saved Allocations
Definition at line 98 of file Meter.h.
Referenced by flush(), Mem::Allocator::flushCounters(), MemPools::flushMeters(), GetInfo(), and Mem::PoolReport().
| Meter Mem::PoolMeter::idle |
Definition at line 91 of file Meter.h.
Referenced by MemChunk::MemChunk(), MemChunk::~MemChunk(), MemPoolChunked::allocate(), MemPoolMalloc::allocate(), MemPools::clean(), MemPoolMalloc::clean(), MemPoolChunked::deallocate(), MemPoolMalloc::deallocate(), flush(), MemPools::flushMeters(), MemPoolChunked::getStats(), MemPoolMalloc::getStats(), MemPoolChunked::idleTrigger(), and Mem::PoolReport().
| Meter Mem::PoolMeter::inuse |
Definition at line 90 of file Meter.h.
Referenced by MemPoolChunked::allocate(), MemPoolMalloc::allocate(), MemPoolChunked::deallocate(), MemPoolMalloc::deallocate(), flush(), MemPools::flushMeters(), Mem::Allocator::getInUseCount(), MemPoolChunked::getStats(), MemPoolMalloc::getStats(), Mem::PoolReport(), and Mem::Report().