Hoard::ThreadLocalAllocationBuffer< NumBins, getSizeClass, getClassSize, LargestObject, LocalHeapThreshold, SuperblockType, SuperblockSize, ParentHeap > Class Template Reference
#include <tlab.h>
List of all members.
template<int NumBins, int(*)(size_t) getSizeClass, size_t(*)(const int) getClassSize, int LargestObject, int LocalHeapThreshold, class SuperblockType, int SuperblockSize, class ParentHeap>
class Hoard::ThreadLocalAllocationBuffer< NumBins, getSizeClass, getClassSize, LargestObject, LocalHeapThreshold, SuperblockType, SuperblockSize, ParentHeap >
Constructor & Destructor Documentation
template<int NumBins, int(*)(size_t) getSizeClass, size_t(*)(const int) getClassSize, int LargestObject, int LocalHeapThreshold, class SuperblockType , int SuperblockSize, class ParentHeap >
template<int NumBins, int(*)(size_t) getSizeClass, size_t(*)(const int) getClassSize, int LargestObject, int LocalHeapThreshold, class SuperblockType , int SuperblockSize, class ParentHeap >
template<int NumBins, int(*)(size_t) getSizeClass, size_t(*)(const int) getClassSize, int LargestObject, int LocalHeapThreshold, class SuperblockType , int SuperblockSize, class ParentHeap >
Hoard::ThreadLocalAllocationBuffer< NumBins, getSizeClass, getClassSize, LargestObject, LocalHeapThreshold, SuperblockType, SuperblockSize, ParentHeap >::ThreadLocalAllocationBuffer |
( |
const ThreadLocalAllocationBuffer< NumBins, getSizeClass, getClassSize, LargestObject, LocalHeapThreshold, SuperblockType, SuperblockSize, ParentHeap > & |
|
) |
[private] |
Member Function Documentation
template<int NumBins, int(*)(size_t) getSizeClass, size_t(*)(const int) getClassSize, int LargestObject, int LocalHeapThreshold, class SuperblockType , int SuperblockSize, class ParentHeap >
static size_t Hoard::ThreadLocalAllocationBuffer< NumBins, getSizeClass, getClassSize, LargestObject, LocalHeapThreshold, SuperblockType, SuperblockSize, ParentHeap >::align |
( |
size_t |
sz |
) |
[inline, static, private] |
template<int NumBins, int(*)(size_t) getSizeClass, size_t(*)(const int) getClassSize, int LargestObject, int LocalHeapThreshold, class SuperblockType , int SuperblockSize, class ParentHeap >
void Hoard::ThreadLocalAllocationBuffer< NumBins, getSizeClass, getClassSize, LargestObject, LocalHeapThreshold, SuperblockType, SuperblockSize, ParentHeap >::clear |
( |
void |
|
) |
[inline] |
template<int NumBins, int(*)(size_t) getSizeClass, size_t(*)(const int) getClassSize, int LargestObject, int LocalHeapThreshold, class SuperblockType , int SuperblockSize, class ParentHeap >
void Hoard::ThreadLocalAllocationBuffer< NumBins, getSizeClass, getClassSize, LargestObject, LocalHeapThreshold, SuperblockType, SuperblockSize, ParentHeap >::free |
( |
void * |
ptr |
) |
[inline] |
template<int NumBins, int(*)(size_t) getSizeClass, size_t(*)(const int) getClassSize, int LargestObject, int LocalHeapThreshold, class SuperblockType , int SuperblockSize, class ParentHeap >
static size_t Hoard::ThreadLocalAllocationBuffer< NumBins, getSizeClass, getClassSize, LargestObject, LocalHeapThreshold, SuperblockType, SuperblockSize, ParentHeap >::getSize |
( |
void * |
ptr |
) |
[inline, static] |
template<int NumBins, int(*)(size_t) getSizeClass, size_t(*)(const int) getClassSize, int LargestObject, int LocalHeapThreshold, class SuperblockType , int SuperblockSize, class ParentHeap >
static SuperblockType* Hoard::ThreadLocalAllocationBuffer< NumBins, getSizeClass, getClassSize, LargestObject, LocalHeapThreshold, SuperblockType, SuperblockSize, ParentHeap >::getSuperblock |
( |
void * |
ptr |
) |
[inline, static] |
template<int NumBins, int(*)(size_t) getSizeClass, size_t(*)(const int) getClassSize, int LargestObject, int LocalHeapThreshold, class SuperblockType , int SuperblockSize, class ParentHeap >
void* Hoard::ThreadLocalAllocationBuffer< NumBins, getSizeClass, getClassSize, LargestObject, LocalHeapThreshold, SuperblockType, SuperblockSize, ParentHeap >::malloc |
( |
size_t |
sz |
) |
[inline] |
template<int NumBins, int(*)(size_t) getSizeClass, size_t(*)(const int) getClassSize, int LargestObject, int LocalHeapThreshold, class SuperblockType , int SuperblockSize, class ParentHeap >
ThreadLocalAllocationBuffer& Hoard::ThreadLocalAllocationBuffer< NumBins, getSizeClass, getClassSize, LargestObject, LocalHeapThreshold, SuperblockType, SuperblockSize, ParentHeap >::operator= |
( |
const ThreadLocalAllocationBuffer< NumBins, getSizeClass, getClassSize, LargestObject, LocalHeapThreshold, SuperblockType, SuperblockSize, ParentHeap > & |
|
) |
[private] |
Member Data Documentation
template<int NumBins, int(*)(size_t) getSizeClass, size_t(*)(const int) getClassSize, int LargestObject, int LocalHeapThreshold, class SuperblockType , int SuperblockSize, class ParentHeap >
template<int NumBins, int(*)(size_t) getSizeClass, size_t(*)(const int) getClassSize, int LargestObject, int LocalHeapThreshold, class SuperblockType , int SuperblockSize, class ParentHeap >
The number of bytes we currently have on this thread.
template<int NumBins, int(*)(size_t) getSizeClass, size_t(*)(const int) getClassSize, int LargestObject, int LocalHeapThreshold, class SuperblockType , int SuperblockSize, class ParentHeap >
This heap's 'parent' (where to go for more memory).
The documentation for this class was generated from the following file: