File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ microtime by yourself. Instead, use the simple
32
32
$stopwatch = new Stopwatch();
33
33
// Start event named 'eventName'
34
34
$stopwatch->start('eventName');
35
- // some code goes here
35
+ // ... some code goes here
36
36
$event = $stopwatch->stop('eventName');
37
37
38
38
You also can provide a category name to an event::
@@ -53,11 +53,11 @@ method does::
53
53
$stopwatch = new Stopwatch();
54
54
// Start event named 'foo'
55
55
$stopwatch->start('foo');
56
- // some code goes here
56
+ // ... some code goes here
57
57
$stopwatch->lap('foo');
58
- // some code goes here
58
+ // ... some code goes here
59
59
$stopwatch->lap('foo');
60
- // some other code goes here
60
+ // ... some other code goes here
61
61
$event = $stopwatch->stop('foo');
62
62
63
63
Lap information is stored in periods within the event. To get lap information
You can’t perform that action at this time.
0 commit comments