NCBI C++ ToolKit
Classes | Macros | Variables
ncbimempool.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbimempool.hpp>
#include <corelib/error_codes.hpp>
+ Include dependency graph for ncbimempool.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CObjectMemoryPoolChunk
 
struct  CObjectMemoryPoolChunk::SHeader
 

Macros

#define NCBI_USE_ERRCODE_X   Corelib_Object
 
#define RegisterMemoryChunk(size)
 
#define DeregisterMemoryChunk(size)
 
#define ObjFatal   Fatal
 

Variables

static const size_t kDefaultChunkSize = 8192
 
static const size_t kMinChunkSize = 128
 
static const size_t kDefaultThresholdRatio = 16
 
static const size_t kMinThresholdRatio = 2
 
static const size_t kMinThreshold = 4
 

Macro Definition Documentation

◆ DeregisterMemoryChunk

#define DeregisterMemoryChunk (   size)

Definition at line 88 of file ncbimempool.cpp.

◆ NCBI_USE_ERRCODE_X

#define NCBI_USE_ERRCODE_X   Corelib_Object

Definition at line 42 of file ncbimempool.cpp.

◆ ObjFatal

#define ObjFatal   Fatal

Definition at line 92 of file ncbimempool.cpp.

◆ RegisterMemoryChunk

#define RegisterMemoryChunk (   size)

Definition at line 87 of file ncbimempool.cpp.

Variable Documentation

◆ kDefaultChunkSize

const size_t kDefaultChunkSize = 8192
static

Definition at line 48 of file ncbimempool.cpp.

Referenced by CObjectMemoryPool::SetChunkSize().

◆ kDefaultThresholdRatio

const size_t kDefaultThresholdRatio = 16
static

Definition at line 51 of file ncbimempool.cpp.

Referenced by CObjectMemoryPool::SetMallocThreshold().

◆ kMinChunkSize

const size_t kMinChunkSize = 128
static

Definition at line 49 of file ncbimempool.cpp.

Referenced by CObjectMemoryPool::SetChunkSize().

◆ kMinThreshold

const size_t kMinThreshold = 4
static

Definition at line 53 of file ncbimempool.cpp.

Referenced by CObjectMemoryPool::SetMallocThreshold().

◆ kMinThresholdRatio

const size_t kMinThresholdRatio = 2
static

Definition at line 52 of file ncbimempool.cpp.

Referenced by CObjectMemoryPool::SetMallocThreshold().

Modified on Wed Jun 12 11:14:03 2024 by modify_doxy.py rev. 669887