#include <Meter.h>
![Collaboration graph](classMem_1_1PoolMeter__coll__graph.png)
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 More... | |
Public Attributes | |
Meter | alloc |
Meter | inuse |
Meter | idle |
mgb_t | gb_allocated |
mgb_t | gb_oallocated |
mgb_t | gb_saved |
mgb_t | gb_freed |
Detailed Description
Member Function Documentation
◆ flush()
|
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().
Member Data Documentation
◆ alloc
Meter Mem::PoolMeter::alloc |
Definition at line 89 of file Meter.h.
Referenced by MemPoolMalloc::allocate(), MemPoolMalloc::clean(), MemPoolMalloc::deallocate(), flush(), MemPools::flushMeters(), GetInfo(), MemPoolChunked::getStats(), MemPoolMalloc::getStats(), MemChunk::MemChunk(), Mem::PoolReport(), snmp_prfSysFn(), and MemChunk::~MemChunk().
◆ gb_allocated
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().
◆ gb_freed
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().
◆ gb_oallocated
mgb_t Mem::PoolMeter::gb_oallocated |
Definition at line 95 of file Meter.h.
Referenced by flush(), and Mem::PoolReport().
◆ gb_saved
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().
◆ idle
Meter Mem::PoolMeter::idle |
Definition at line 91 of file Meter.h.
Referenced by MemPoolChunked::allocate(), MemPoolMalloc::allocate(), MemPoolMalloc::clean(), MemPools::clean(), MemPoolChunked::deallocate(), MemPoolMalloc::deallocate(), flush(), MemPools::flushMeters(), MemPoolChunked::getStats(), MemPoolMalloc::getStats(), MemPoolChunked::idleTrigger(), MemChunk::MemChunk(), Mem::PoolReport(), and MemChunk::~MemChunk().
◆ inuse
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().
The documentation for this class was generated from the following file:
- src/mem/Meter.h
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