History

Merge pull request #8922 from ZappoMan/report45hzTarget

when vive is on i5 report a correct target frame rate so we can see that in metaverse stats

Brad Davis committed 10 years ago

Commit 012e2152 parents 745f654 6d94df35 files · +21 −5Browse files

Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all

Unified · Split

interface/src/Application.cpp+2−0
@@ -1194,6 +1194,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 1193 unmodified lines
1194 properties["dropped_frame_rate"] = displayPlugin->droppedFrameRate();1194 properties["dropped_frame_rate"] = displayPlugin->droppedFrameRate();
1195 properties["sim_rate"] = getAverageSimsPerSecond();1195 properties["sim_rate"] = getAverageSimsPerSecond();
1196 properties["avatar_sim_rate"] = getAvatarSimrate();1196 properties["avatar_sim_rate"] = getAvatarSimrate();
1197 properties["has_async_reprojection"] = displayPlugin->hasAsyncReprojection();
1197 1198
1198 auto bandwidthRecorder = DependencyManager::get<BandwidthRecorder>();1199 auto bandwidthRecorder = DependencyManager::get<BandwidthRecorder>();
1199 properties["packet_rate_in"] = bandwidthRecorder->getCachedTotalAverageInputPacketsPerSecond();1200 properties["packet_rate_in"] = bandwidthRecorder->getCachedTotalAverageInputPacketsPerSecond();
@@ -1237,6 +1238,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 37 unmodified lines
1237 auto glInfo = getGLContextData();1238 auto glInfo = getGLContextData();
1238 properties["gl_info"] = glInfo;1239 properties["gl_info"] = glInfo;
1239 properties["gpu_free_memory"] = (int)BYTES_TO_MB(gpu::Context::getFreeGPUMemory());1240 properties["gpu_free_memory"] = (int)BYTES_TO_MB(gpu::Context::getFreeGPUMemory());
1241 properties["ideal_thread_count"] = QThread::idealThreadCount();
1240 1242
1241 auto hmdHeadPose = getHMDSensorPose();1243 auto hmdHeadPose = getHMDSensorPose();
1242 properties["hmd_head_pose_changed"] = isHMDMode() && (hmdHeadPose != lastHMDHeadPose);1244 properties["hmd_head_pose_changed"] = isHMDMode() && (hmdHeadPose != lastHMDHeadPose);