Add tracker report to Trace
This commit is contained in:
parent
7e4ea18ca6
commit
ff03061495
2 changed files with 3 additions and 3 deletions
|
|
@ -69,7 +69,7 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
#region automation test
|
||||
#if true
|
||||
StatisticsTracker testTracker = new StatisticsTracker();
|
||||
StatisticsTracker testTracker = new StatisticsTracker("ApplicationViewFrameRate");
|
||||
bool item = true;
|
||||
bool firstDraw = true;
|
||||
AutomationRunner clickPreview;
|
||||
|
|
@ -111,7 +111,7 @@ namespace MatterHackers.MatterControl
|
|||
testTracker.AddValue(totalDrawTime.ElapsedMilliseconds);
|
||||
if (testTracker.Count == 100)
|
||||
{
|
||||
// TODO: report
|
||||
Trace.WriteLine("StatisticsTrackerReport: " + Newtonsoft.Json.JsonConvert.SerializeObject(testTracker));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 2d45f6304bd8bc3086eea6a576a65c513f831b14
|
||||
Subproject commit ce5f8f5d570fffd3381e79f04abe3e6411ae196d
|
||||
Loading…
Add table
Add a link
Reference in a new issue