Public Member Functions

EvSimObject::BlockAllocator Class Reference

Class for memory management of SimObjects. More...

#include <EvSimObject.h>

List of all members.

Public Member Functions

 BlockAllocator (size_t blockSize=EVSIMOBJECT_ALLOCATOR_BLOCK_SIZE)
void * allocate (size_t size)

Detailed Description

Class for memory management of SimObjects.

The ratinale behind this memory management is, that all SimObjects belonging to one simulation thread should be in a continous block of memory to avoid false sharing of cache lines. This class approximates this requirement.


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