bool isStarted(string $name) Checks if the event was started.
int getDuration() Gets the duration of the events (including all periods).
StopwatchEvent[] getEvents()
StopwatchEvent start(string $name, string
StopwatchEvent stop()
class Stopwatch Stopwatch provides a way to profile code. Methods
float getOrigin() Gets the origin. Return
stopSection(string $id) Stops the last started section. The id parameter is used to retrieve
StopwatchPeriod[] getPeriods()
int getStartTime() Gets the relative time of the start of the first period.
Page 2 of 4