Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all
Unified · Split
| @@ -1240,7 +1240,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 1239 unmodified lines | ||
| 1240 | 1240 | properties["gl_info"] = glInfo; |
| 1241 | 1241 | properties["gpu_used_memory"] = (int)BYTES_TO_MB(gpu::Context::getUsedGPUMemory()); |
| 1242 | 1242 | properties["gpu_free_memory"] = (int)BYTES_TO_MB(gpu::Context::getFreeGPUMemory()); |
| 1243 | − properties["gpu_frame_time"] = (int)(qApp->getRenderEngine()->); | |
| 1243 | + properties["gpu_frame_time"] = (float)(qApp->getGPUContext()->getFrameTimerGPUAverage()); | |
| 1244 | + properties["batch_frame_time"] = (float)(qApp->getGPUContext()->getFrameTimerBatchAverage()); | |
| 1244 | 1245 | properties["ideal_thread_count"] = QThread::idealThreadCount(); |
| 1245 | 1246 | |
| 1246 | 1247 | auto hmdHeadPose = getHMDSensorPose(); |