From aa92751cb07c66cc41b20b43e5c1cf9ac20d25fc Mon Sep 17 00:00:00 2001 From: ikpil Date: Thu, 11 May 2023 00:10:09 +0900 Subject: [PATCH] bugfix us time --- src/DotRecast.Recast.Demo/Tools/CrowdProfilingTool.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DotRecast.Recast.Demo/Tools/CrowdProfilingTool.cs b/src/DotRecast.Recast.Demo/Tools/CrowdProfilingTool.cs index 6326761..1b075c8 100644 --- a/src/DotRecast.Recast.Demo/Tools/CrowdProfilingTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/CrowdProfilingTool.cs @@ -139,7 +139,7 @@ public class CrowdProfilingTool foreach (Tuple e in timings) { - ImGui.Text($"{e.Item1}: {e.Item2 / 1_000} us"); + ImGui.Text($"{e.Item1}: {e.Item2 / TimeSpan.TicksPerMicrosecond} us"); } ImGui.Text($"Update Time: {crowdUpdateTime} ms");