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