Example #1
0
 /// <summary> Iterate over GetMeasureActions() and shows their results with TPMeasure.MeasureRepeat(RepeatLength, MeasureNames[i]) </summary>
 protected void MeasureRepeat()
 {
     Action[] actions = GetMeasureActionsSafe(out int length);
     for (int i = 0; i < length; i++)
     {
         TPMeasure.MeasureRepeat(RepeatLength, MeasureNames[i], actions[i]).ShowLog();
     }
 }
Example #2
0
 private void Update()
 {
     OnUpdate();
     TPMeasure.Profile(ProfileUpdateSampleName, onUpdateProfile);
 }
Example #3
0
 private void Awake()
 {
     onUpdateProfile = UpdateProfile;
     TPMeasure.MeasureAverageRepeat(2, 1000, null, Void);
     OnAwakened();
 }