#include <Meter.h>

Collaboration diagram for Mem::PoolMeter:

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

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

Definition at line 54 of file Meter.h.

Member Function Documentation

◆ flush()

void Mem::PoolMeter::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

◆ 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

◆ inuse


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors