/// <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(); } }
private void Update() { OnUpdate(); TPMeasure.Profile(ProfileUpdateSampleName, onUpdateProfile); }
private void Awake() { onUpdateProfile = UpdateProfile; TPMeasure.MeasureAverageRepeat(2, 1000, null, Void); OnAwakened(); }