Пример #1
0
 /// <summary> Iterate over GetMeasureActions() and shows their results with TPMeasure.MeasureAverageRepeat(RepeatAverageLength, RepeatLength, MeasureNames[i]) </summary>
 protected void MeasureAverageRepeat()
 {
     Action[] actions = GetMeasureActionsSafe(out int length);
     for (int i = 0; i < length; i++)
     {
         TPMeasure.MeasureAverageRepeat(RepeatAverageLength, RepeatLength, MeasureNames[i], actions[i]).ShowLog();
     }
 }
Пример #2
0
 private void Awake()
 {
     onUpdateProfile = UpdateProfile;
     TPMeasure.MeasureAverageRepeat(2, 1000, null, Void);
     OnAwakened();
 }