string getCategory() Gets the category.
int getMemory() Gets the memory usage.
StopwatchEvent lap(string $name)
class Section Stopwatch section. Methods
int getMemory() Gets the max memory usage of all periods.
StopwatchEvent getEvent(string $name)
bool isStarted(string $name) Checks if the event was started.
int getDuration() Gets the duration of the events (including all periods).
StopwatchEvent stop()
Section[] getSections()
Page 1 of 4