From 0909818379201a9ffb070e1fe635059026caf63f Mon Sep 17 00:00:00 2001 From: ikpil Date: Sun, 4 Feb 2024 21:20:36 +0900 Subject: [PATCH] replace sampling time in CrowdAgentProfilingSampleTool --- .../Tools/CrowdAgentProfilingSampleTool.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DotRecast.Recast.Demo/Tools/CrowdAgentProfilingSampleTool.cs b/src/DotRecast.Recast.Demo/Tools/CrowdAgentProfilingSampleTool.cs index b48599b..b682662 100644 --- a/src/DotRecast.Recast.Demo/Tools/CrowdAgentProfilingSampleTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/CrowdAgentProfilingSampleTool.cs @@ -118,8 +118,8 @@ public class CrowdAgentProfilingSampleTool : ISampleTool ImGui.Text($"{rtt.Key}: {rtt.Micros} us"); } + ImGui.Text($"Sampling Time: {_tool.GetCrowdUpdateSamplingTime()} ms"); ImGui.Text($"Current Update Time: {_tool.GetCrowdUpdateTime()} ms"); - ImGui.Text($"Sampling Update Time: {_tool.GetCrowdUpdateSamplingTime()} ms"); ImGui.Text($"Avg Update Time: {_tool.GetCrowdUpdateAvgTime()} ms"); ImGui.Text($"Max Update Time: {_tool.GetCrowdUpdateMaxTime()} ms"); ImGui.Text($"Min Update Time: {_tool.GetCrowdUpdateMinTime()} ms");