Skip to content

Commit 5d971ee

Browse files
AhmedRaafat14javiereguiluz
authored andcommitted
[Stopwatch] Add name property to the stopwatchEvent
1 parent 355aa03 commit 5d971ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/stopwatch.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ For example::
102102
$event->getEndTime(); // returns the end time of the very last period
103103
$event->getDuration(); // returns the event duration, including all periods
104104
$event->getMemory(); // returns the max memory usage of all periods
105+
$event->getName(); // returns the event name
105106

106107
Sections
107108
--------

0 commit comments

Comments
 (0)