Navigation
API > API/Developer > API/Developer/TraceServices
| Name | FSlabAllocator |
| Type | class |
| Header File | /Engine/Source/Developer/TraceServices/Public/TraceServices/Containers/SlabAllocator.h |
| Include Path | #include "TraceServices/Containers/SlabAllocator.h" |
Syntax
class FSlabAllocator : public TraceServices::ILinearAllocator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlabAllocator
(
uint64 InSlabSize |
TraceServices/Containers/SlabAllocator.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FSlabAllocator() |
TraceServices/Containers/SlabAllocator.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Cs | FCriticalSection | TraceServices/Containers/SlabAllocator.h | ||
| CurrentSlab | uint8 * | TraceServices/Containers/SlabAllocator.h | ||
| CurrentSlabAllocatedSize | uint64 | TraceServices/Containers/SlabAllocator.h | ||
| Slabs | TArray< void * > | TraceServices/Containers/SlabAllocator.h | ||
| SlabSize | const uint64 | TraceServices/Containers/SlabAllocator.h | ||
| TotalAllocatedSize | uint64 | TraceServices/Containers/SlabAllocator.h | ||
| TotalUsedSize | uint64 | TraceServices/Containers/SlabAllocator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint64 GetAllocatedSize() |
TraceServices/Containers/SlabAllocator.h | ||
uint64 GetUsedSize() |
TraceServices/Containers/SlabAllocator.h |
Overridden from ILinearAllocator
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void * Allocate
(
uint64 Size |
TraceServices/Containers/SlabAllocator.h |