Improve debug message (looking for unnecessary draws)

This commit is contained in:
Lars Brubaker 2018-05-15 16:30:53 -07:00
parent 31276b20cf
commit ec8fe1f191
2 changed files with 2 additions and 2 deletions

View file

@ -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);

@ -1 +1 @@
Subproject commit 66aa47afebf93a4ee53ae5313827fd4be4f8ca2b
Subproject commit 898848a7267302b5bf3cb42480eb5a52d4c41277