SpiecsEngine
 
Loading...
Searching...
No Matches

◆ Reset()

void Spices::NsightPerfGPUProfilerContinuous::Reset ( )

Reset on quit application.

Definition at line 358 of file NsightPerfGPUProfilerContinuous.cpp.

359 {
361
362 if(!m_IsInSession) return;
363
364 NSPERF_CHECK(sampler.StopSampling())
365 NSPERF_CHECK(sampler.EndSession())
366 sampler.Reset();
367
368 m_IsInSession = false;
369 }
#define NSPERF_CHECK(val)
#define SPICES_PROFILE_ZONE
nv::perf::sampler::GpuPeriodicSampler sampler
the periodic sampler.

References m_IsInSession.

Referenced by EndFrame(), and NsightPerfGPUProfilerContinuous().