| FNoncopyable
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Containers/LockFreeFixedSizeAllocator.h |
Include |
#include "Containers/LockFreeFixedSizeAllocator.h" |
template<int32 SIZE, typename TBundleRecycler, typename TTrackingCounter, bool AllowDisablingOfTrim>
class TLockFreeFixedSizeAllocator_TLSCacheBase : public FNoncopyable
Name | Description | |
---|---|---|
|
TLockFreeFixedSizeAllocator_TLSCacheBase() |
Name | Description | |
---|---|---|
|
~TLockFreeFixedSizeAllocator_TLSCacheBase() |
Destructor, leaks all of the memory |
Name | Description | ||
---|---|---|---|
|
void * |
Allocate() |
Allocates a memory block of size SIZE. |
|
Free ( |
Puts a memory block previously obtained from Allocate() back on the free list for future use. |
|
|
const TTrack... |
GetNumFree() |
Gets the number of allocated memory blocks that are currently unused. |
|
const TTrack... |
GetNumUsed() |
Gets the number of allocated memory blocks that are currently in use. |
Name |
Description |
---|---|
NUM_PER_BUNDLE |