Pool.h File Reference
#include "mem/forward.h"
#include "mem/Meter.h"
#include "util.h"
#include <list>
Include dependency graph for Pool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MemPools
 

Macros

#define M_MMAP_MAX   -4
 
#define toMB(size)   ( ((double) size) / ((double)(1024*1024)) )
 
#define toKB(size)   ( (size + 1024 - 1) / 1024 )
 
#define memPoolCreate   MemPools::GetInstance().create
 Creates a named MemPool of elements with the given size. More...
 

Variables

Mem::PoolMeter TheMeter
 memory usage totals as of latest MemPools::flushMeters() event More...
 

Macro Definition Documentation

◆ M_MMAP_MAX

#define M_MMAP_MAX   -4

Definition at line 47 of file Pool.h.

◆ memPoolCreate

#define memPoolCreate   MemPools::GetInstance().create

Definition at line 123 of file Pool.h.

Variable Documentation

◆ TheMeter

Mem::PoolMeter TheMeter
extern

Definition at line 24 of file Pool.cc.

Referenced by MemPools::clean(), MemPools::flushMeters(), and Mem::GlobalStats().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors