Section
Introduction
Code Example
using FlatRedBall.Performance.Measurement;// This starts the timing of the section
Section.GetAndStartContextAndTime("Demo Section");
System.Threading.Thread.Sleep(1000);
// This ends the timing of the section.
// We store off the reference to the created
// section so we can...
Section result = Section.EndContextAndTime();
// ...print it out here:
FlatRedBall.Debugging.Debugger.CommandLineWrite(result);Last updated
Was this helpful?