Class for memory management of SimObjects. More...
#include <EvSimObject.h>
Public Member Functions | |
BlockAllocator (size_t blockSize=EVSIMOBJECT_ALLOCATOR_BLOCK_SIZE) | |
void * | allocate (size_t size) |
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.