Only count capture load time in release mode

This commit is contained in:
baldurk
2018-03-01 18:45:32 +00:00
parent 327da91706
commit d25d942c27
+2
View File
@@ -160,7 +160,9 @@ void CaptureContext::LoadCapture(const rdcstr &captureFile, const rdcstr &origFi
[this]() { return !m_LoadInProgress; },
[this]() { return UpdateLoadProgress(); });
#if defined(RELEASE)
ANALYTIC_ADDAVG(Performance.LoadTime, double(loadTimer.nsecsElapsed() * 1.0e-9));
#endif
ANALYTIC_SET(CaptureFeatures.ShaderLinkage, m_APIProps.ShaderLinkage);
ANALYTIC_SET(CaptureFeatures.YUVTextures, m_APIProps.YUVTextures);