SpiecsEngine
 
Loading...
Searching...
No Matches

◆ SetFrameCut()

void Spices::GpuCrashTracker::SetFrameCut ( uint64_t frameCut)

Set FrameCut.

Parameters
[in]frameCutFrameCut.

Definition at line 126 of file NsightAftermathGpuCrashTracker.cpp.

127 {
129
130 m_FrameCut = frameCut % c_MarkerFrameHistory;
131
132 m_MarkerMap[m_FrameCut].clear();
133 }
#define SPICES_PROFILE_ZONE
static constexpr unsigned int c_MarkerFrameHistory
keep four frames worth of marker history.
MarkerMap m_MarkerMap
App-managed marker tracking.

References c_MarkerFrameHistory, and m_FrameCut.