RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
Public Member Functions | Static Public Member Functions | Public Attributes
Allocator< T > Struct Template Reference

List of all members.

Public Member Functions

 Allocator (int nblocks, T def=T())
void init (int nblocks)
T * alloc ()
void dealloc (T *value)

Static Public Member Functions

static void doDealloc (void *thisptr, void *blockPtr_, void *blockVar_)
static void doDeallocAll (void *thisptr, void *blocksPtr_, void *numBlocks_)

Public Attributes

def
T * blocks
int * free
int nfree
int highestAlloc
int nallocs
int ndeallocs
ML::Spinlock lock

Detailed Description

template<typename T>
struct Allocator< T >

Definition at line 262 of file gc_test.cc.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator