UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMetalCounterSample Struct Reference

#include <MetalCounterSampler.h>

Public Member Functions

 FMetalCounterSample (EMetalCounterSampleType Type, MTL::CounterSampleBuffer *Buffer, uint32_t InOffset)
 
bool IsStageType ()
 
void ResolveStageCounters (uint64_t &InStartTime, uint64_t &InEndTime)
 
void ResolveBoundaryCounter (uint64_t &Time)
 
voidoperator new (size_t Size)
 
void operator delete (void *Pointer)
 

Public Attributes

EMetalCounterSampleType SampleType
 
uint32_t Offset = 0
 
MTL::CounterSampleBuffer * SampleBuffer
 
bool bResolved = false
 
uint64_t StartTime
 
uint64_t EndTime
 

Static Public Attributes

static TLockFreePointerListUnordered< void, PLATFORM_CACHE_LINE_SIZEMemoryPool
 

Constructor & Destructor Documentation

◆ FMetalCounterSample()

FMetalCounterSample::FMetalCounterSample ( EMetalCounterSampleType  Type,
MTL::CounterSampleBuffer *  Buffer,
uint32_t  InOffset 
)
inline

Member Function Documentation

◆ IsStageType()

bool FMetalCounterSample::IsStageType ( )
inline

◆ operator delete()

void FMetalCounterSample::operator delete ( void Pointer)
inline

◆ operator new()

void * FMetalCounterSample::operator new ( size_t  Size)
inline

◆ ResolveBoundaryCounter()

void FMetalCounterSample::ResolveBoundaryCounter ( uint64_t Time)

◆ ResolveStageCounters()

void FMetalCounterSample::ResolveStageCounters ( uint64_t InStartTime,
uint64_t InEndTime 
)

Member Data Documentation

◆ bResolved

bool FMetalCounterSample::bResolved = false

◆ EndTime

uint64_t FMetalCounterSample::EndTime

◆ MemoryPool

TLockFreePointerListUnordered< void, PLATFORM_CACHE_LINE_SIZE > FMetalCounterSample::MemoryPool
static

◆ Offset

uint32_t FMetalCounterSample::Offset = 0

◆ SampleBuffer

MTL::CounterSampleBuffer* FMetalCounterSample::SampleBuffer

◆ SampleType

EMetalCounterSampleType FMetalCounterSample::SampleType

◆ StartTime

uint64_t FMetalCounterSample::StartTime

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