Showing the changes to libraries/render-utils/src/RenderDeferredTask.cpp (1 of 16 files). Show all
Unified · Split
| @@ -245,7 +245,7 @@ void EndGPURangeTimer::run(const render::SceneContextPointer& sceneContext, cons · 244 unmodified lines | ||
| 245 | 245 | }); |
| 246 | 246 | |
| 247 | 247 | auto config = std::static_pointer_cast<Config>(renderContext->jobConfig); |
| 248 | − config->gpuTime = timer->getAverage(); | |
| 248 | + config->setGPUBatchRunTime(timer->getGPUAverage(), timer->getBatchAverage()); | |
| 249 | 249 | } |
| 250 | 250 | |
| 251 | 251 | |