Navigation
API > API/Developer > API/Developer/TraceInsights
Simple acceleration structure used to return previously searched results.
| Name | TTimingEventSearchCache |
| Type | struct |
| Header File | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/TimingEventSearch.h |
| Include Path | #include "Insights/ViewModels/TimingEventSearch.h" |
Syntax
template<typename PayloadType, int32 Size>
struct TTimingEventSearchCache
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TTimingEventSearchCache() |
Insights/ViewModels/TimingEventSearch.h |
Structs
| Name | Remarks |
|---|---|
| FResultData | A cached result. |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedValues | TPair< FTimingEventSearchHandle, FResultData > | Array of cached searches. | Insights/ViewModels/TimingEventSearch.h | |
| WriteIndex | int32 | Current write index. | Insights/ViewModels/TimingEventSearch.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Read
(
const FTimingEventSearchHandle& InHandle, |
Attempt to read from the cache. | Insights/ViewModels/TimingEventSearch.h | |
void Reset() |
Reset the cache. Any reads after this will return false. | Insights/ViewModels/TimingEventSearch.h | |
FTimingEventSearchHandle Write
(
double InStartTime, |
Write to the cache | Insights/ViewModels/TimingEventSearch.h |