IMemoryProvider::EnumerateTagSamples

Enumerates samples (values) for a specified LLM tag.

Unreal Engine C++ API Reference > Developer > TraceServices > TraceServices > Model > IMemoryProvider

References

   
Module TraceServices
Header /Engine/Source/Developer/TraceServices/Public/TraceServices/Model/Memory.h
Include #include "TraceServices/Model/Memory.h"
void EnumerateTagSamples
(
    [FMemoryTrackerId](API\Developer\TraceServices\TraceServices\Model\FMemoryTrackerId) Tracker,
    [FMemoryTagId](API\Developer\TraceServices\TraceServices\Model\FMemoryTagId) Tag,
    double StartTime,
    double EndTime,
    bool bIncludeRangeNeighbours,
    [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< void(double Time, double Duration, const [FMemoryTagSample](API\Developer\TraceServices\TraceServices\Model\FMemoryTagSample) &)> Callback
) const

Remarks

Enumerates samples (values) for a specified LLM tag.

Parameters

Name Description
Tracker Tracker index.
Tag The id/index of the LLM tag.
StartSample The inclusive start index in the sample array of specified memory tag.
EndSample The exclusive end index in the sample array of specified memory tag.
Callback A callback function called for each sample enumerated.
bIncludeRangeNeighbours Includes the sample immediately before and after the selected range.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library