HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_SmallObjectAllocator Class Reference

#include <UT_SmallObjectAllocator.h>

Public Member Functions

 UT_SmallObjectAllocator (bool cleanPages, int pageSize, size_t maxObjectSize, bool threadSafe)
 

Static Public Member Functions

static voidallocate (size_t bytes)
 
static void deallocate (void *p, size_t bytes)
 
static voidaligned_allocate (size_t bytes, size_t alginment)
 
static void aligned_free (void *p, size_t bytes)
 
static void dumpStats (UT_WorkBuffer &buf)
 

Detailed Description

Definition at line 19 of file UT_SmallObjectAllocator.h.

Constructor & Destructor Documentation

UT_SmallObjectAllocator::UT_SmallObjectAllocator ( bool  cleanPages,
int  pageSize,
size_t  maxObjectSize,
bool  threadSafe 
)

Member Function Documentation

static void* UT_SmallObjectAllocator::aligned_allocate ( size_t  bytes,
size_t  alginment 
)
static
static void UT_SmallObjectAllocator::aligned_free ( void p,
size_t  bytes 
)
static
static void* UT_SmallObjectAllocator::allocate ( size_t  bytes)
static
static void UT_SmallObjectAllocator::deallocate ( void p,
size_t  bytes 
)
static
static void UT_SmallObjectAllocator::dumpStats ( UT_WorkBuffer buf)
static

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