include/MemPool.h File Reference

#include "config.h"
#include "util.h"
#include "memMeter.h"
#include "splay.h"
Include dependency graph for MemPool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MemPoolIterator
class  mgb_t
class  MemPoolMeter
class  MemPools
class  MemAllocator
class  MemAllocatorProxy
class  MemImplementingAllocator
class  MemPoolStats
struct  _MemPoolGlobalStats

Defines

#define M_MMAP_MAX   -4
#define MB   ((size_t)1024*1024)
#define toMB(size)   ( ((double) size) / MB )
#define toKB(size)   ( (size + 1024 - 1) / 1024 )
#define MEM_PAGE_SIZE   4096
#define MEM_CHUNK_SIZE   4096 * 4
#define MEM_CHUNK_MAX_SIZE   256 * 1024
#define MEM_MIN_FREE   32
#define MEM_MAX_FREE   65535
#define MEMPROXY_CLASS(CLASS)
#define MEMPROXY_CLASS_INLINE(CLASS)
#define memPoolCreate   MemPools::GetInstance().create

Typedefs

typedef struct _MemPoolGlobalStats MemPoolGlobalStats

Functions

MemPoolIteratormemPoolIterate (void)
MemImplementingAllocatormemPoolIterateNext (MemPoolIterator *iter)
void memPoolIterateDone (MemPoolIterator **iter)
int memPoolGetGlobalStats (MemPoolGlobalStats *stats)
int memPoolInUseCount (MemAllocator *)
int memPoolsTotalAllocated (void)

Define Documentation

#define M_MMAP_MAX   -4

Definition at line 41 of file MemPool.h.

Referenced by MemPoolChunked::MemPoolChunked().

Search

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors