Mem::PoolMeter::mgb_t Class Reference

Object to track per-pool cumulative counters. More...

#include <Meter.h>

Collaboration diagram for Mem::PoolMeter::mgb_t:

Public Member Functions

mgb_toperator+= (const mgb_t &o)
 
void update (size_t items, size_t itemSize)
 account for memory actions taking place More...
 

Public Attributes

double count = 0.0
 
double bytes = 0.0
 

Detailed Description

Definition at line 58 of file Meter.h.

Member Function Documentation

◆ operator+=()

mgb_t & Mem::PoolMeter::mgb_t::operator+= ( const mgb_t o)
inline

Definition at line 61 of file Meter.h.

References bytes, and count.

◆ update()

void Mem::PoolMeter::mgb_t::update ( size_t  items,
size_t  itemSize 
)
inline

Definition at line 68 of file Meter.h.

References bytes, and count.

Referenced by Mem::Allocator::flushCounters().

Member Data Documentation

◆ bytes

double Mem::PoolMeter::mgb_t::bytes = 0.0

Definition at line 75 of file Meter.h.

Referenced by operator+=(), Mem::PoolReport(), Mem::Report(), and update().

◆ count

double Mem::PoolMeter::mgb_t::count = 0.0

Definition at line 74 of file Meter.h.

Referenced by GetInfo(), operator+=(), Mem::PoolReport(), Mem::Report(), and update().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors