Always show memory display in debug.
This commit is contained in:
parent
e3c70b0268
commit
621f91f4e1
1 changed files with 2 additions and 0 deletions
|
|
@ -278,7 +278,9 @@ namespace MatterHackers.MatterControl
|
|||
base.OnDraw(graphics2D);
|
||||
totalDrawTime.Stop();
|
||||
|
||||
#if !DEBUG
|
||||
if (ShowMemoryUsed)
|
||||
#endif
|
||||
{
|
||||
long memory = GC.GetTotalMemory(false);
|
||||
this.Title = string.Format("Allocated = {0:n0} : {1}ms, d{2} Size = {3}x{4}", memory, totalDrawTime.ElapsedMilliseconds, drawCount++, this.Width, this.Height);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue