#include <Pool.h>

Collaboration diagram for MemPoolMeter:

Public Member Functions

 MemPoolMeter ()
void flush ()

Public Attributes

Mem::Meter alloc
Mem::Meter inuse
Mem::Meter idle
mgb_t gb_allocated
mgb_t gb_oallocated
mgb_t gb_saved
mgb_t gb_freed

Detailed Description

Object to track per-pool memory usage (alloc = inuse+idle)

Definition at line 92 of file Pool.h.

Constructor & Destructor Documentation

◆ MemPoolMeter()

MemPoolMeter::MemPoolMeter ( )

Definition at line 165 of file Pool.cc.

Member Function Documentation

◆ flush()

void MemPoolMeter::flush ( )

Definition at line 150 of file Pool.cc.

Referenced by MemPools::flushMeters().

Member Data Documentation

◆ alloc

◆ gb_allocated

mgb_t MemPoolMeter::gb_allocated

history Allocations

Definition at line 103 of file Pool.h.

Referenced by MemPools::flushMeters(), Mem::PoolReport(), and Mem::Report().

◆ gb_freed

mgb_t MemPoolMeter::gb_freed

account Free calls

Definition at line 110 of file Pool.h.

Referenced by MemPools::flushMeters(), and GetInfo().

◆ gb_oallocated

mgb_t MemPoolMeter::gb_oallocated

Definition at line 104 of file Pool.h.

Referenced by Mem::PoolReport().

◆ gb_saved

mgb_t MemPoolMeter::gb_saved

account Saved Allocations

Definition at line 107 of file Pool.h.

Referenced by MemPools::flushMeters(), GetInfo(), and Mem::PoolReport().

◆ idle

◆ inuse

The documentation for this class was generated from the following files:






Web Site Translations