From ec8fe1f191e117c15ce408514547b9e9ba7fbb7d Mon Sep 17 00:00:00 2001 From: Lars Brubaker Date: Tue, 15 May 2018 16:30:53 -0700 Subject: [PATCH] Improve debug message (looking for unnecessary draws) --- RootSystemWindow.cs | 2 +- Submodules/agg-sharp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RootSystemWindow.cs b/RootSystemWindow.cs index 99983b5dd..9e5f1c03f 100644 --- a/RootSystemWindow.cs +++ b/RootSystemWindow.cs @@ -217,7 +217,7 @@ namespace MatterHackers.MatterControl if (ShowMemoryUsed) { long memory = GC.GetTotalMemory(false); - this.Title = "Allocated = {0:n0} : {1:000}ms, d{2} Size = {3}x{4}, onIdle = {5:00}:{6:00}, widgetsDrawn = {7}".FormatWith(memory, millisecondTimer.GetAverage(), drawCount++, this.Width, this.Height, UiThread.CountExpired, UiThread.Count, GuiWidget.DrawCount); + this.Title = $"Allocated = {memory:n0} : {millisecondTimer.GetAverage()}ms, d{drawCount++} Size = {this.Width}x{this.Height}, onIdle = {UiThread.CountExpired}:{UiThread.Count}, widgetsDrawn = {GuiWidget.DrawCount}"; } //msGraph.AddData("ms", totalDrawTime.ElapsedMilliseconds); diff --git a/Submodules/agg-sharp b/Submodules/agg-sharp index 66aa47afe..898848a72 160000 --- a/Submodules/agg-sharp +++ b/Submodules/agg-sharp @@ -1 +1 @@ -Subproject commit 66aa47afebf93a4ee53ae5313827fd4be4f8ca2b +Subproject commit 898848a7267302b5bf3cb42480eb5a52d4c41277