Send both min and max prediction times

This commit is contained in:
Patrick Nicolas
2025-01-30 08:58:31 +01:00
parent b97c8b29b5
commit 06b5fd7e6c
5 changed files with 18 additions and 17 deletions
+1 -1
View File
@@ -327,7 +327,7 @@ std::vector<XrCompositionLayerQuad> scenes::stream::plot_performance_metrics(XrT
ImPlot::PopStyleColor(5);
{
std::lock_guard lock(tracking_control_mutex);
ImGui::Text("%s", fmt::format(_F("Estimated motion to photons latency: {}ms"), std::chrono::duration_cast<std::chrono::milliseconds>(tracking_control.offset).count()).c_str());
ImGui::Text("%s", fmt::format(_F("Estimated motion to photons latency: {}ms"), std::chrono::duration_cast<std::chrono::milliseconds>(tracking_control.max_offset).count()).c_str());
}
ImGui::End();