Section[] getSections()
int getEndTime() Gets the relative time of the end of the period.
class Stopwatch Stopwatch provides a way to profile code. Methods
StopwatchEvent stop()
StopwatchEvent stop(string $name)
float getOrigin() Gets the origin. Return
int getDuration() Gets the duration of the events (including all periods).
openSection(string|null $id = null) Creates a new section or re-opens an existing section.
StopwatchPeriod[] getPeriods()
stopSection(string $id) Stops the last started section. The id parameter is used to retrieve
Page 2 of 4