From 5d971ee2f4cefd89b51dd35fed317bfb1a52da6f Mon Sep 17 00:00:00 2001 From: Ahmad Ra'fat Date: Mon, 27 Jul 2020 14:03:28 +0200 Subject: [PATCH] [Stopwatch] Add name property to the stopwatchEvent --- components/stopwatch.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/components/stopwatch.rst b/components/stopwatch.rst index e6e11d9c53e..c0265f272e5 100644 --- a/components/stopwatch.rst +++ b/components/stopwatch.rst @@ -102,6 +102,7 @@ For example:: $event->getEndTime(); // returns the end time of the very last period $event->getDuration(); // returns the event duration, including all periods $event->getMemory(); // returns the max memory usage of all periods + $event->getName(); // returns the event name Sections --------