#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 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 MemChunk::MemChunk(), MemChunk::~MemChunk(), MemPoolMalloc::allocate(), MemPoolMalloc::clean(), MemPoolMalloc::deallocate(), flush(), MemPools::flushMeters(), GetInfo(), MemPoolChunked::getStats(), MemPoolMalloc::getStats(), and Mem::PoolReport().
◆ 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 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().
◆ 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