private void MethodC() { DebugPlus.StartChronometer(showAverage: true); Thread.Sleep(10); DebugPlus.StopCurrentChronometer(); }
private void MethodA() { DebugPlus.StartChronometer(); MethodB(); MethodC(); DebugPlus.StopCurrentChronometer(); }
private void MethodB() { DebugPlus.StartChronometer(); DebugPlus.StartChronometer("sub bloc"); // your timed sub bloc Thread.Sleep(3); DebugPlus.StopCurrentChronometer(); MethodC(); MethodC(); MethodC(); DebugPlus.StopCurrentChronometer(); }