StopwatchEvent lap(string $name)
int getMemory() Gets the max memory usage of all periods.
StopwatchEvent getEvent(string $name)
class Section Stopwatch section. Methods
int getMemory() Gets the memory usage.
string getCategory() Gets the category.
ensureStopped() Stops all non already stopped periods.
StopwatchEvent[] getEvents()
StopwatchEvent start(string $name, string
bool isStarted(string $name) Checks if the event was started.
Page 1 of 4