StopwatchEvent stop()
StopwatchEvent start(string $name, string
float getOrigin() Gets the origin. Return
class Stopwatch Stopwatch provides a way to profile code. Methods
Section[] getSections()
ensureStopped() Stops all non already stopped periods.
StopwatchEvent stop(string $name)
bool isEventStarted(string $name) Checks if the event was started.
stopSection(string $id) Stops the last started section. The id parameter is used to retrieve
int getStartTime() Gets the relative time of the start of the first period.
Page 2 of 4