|
@@ 15-17 (lines=3) @@
|
| 12 |
|
|
| 13 |
|
// '@' is used to prevent the dreaded timezone not set error |
| 14 |
|
$out = @date('Y-m-d H:i:s', $sec).'.'.substr($usec, 2, 4); |
| 15 |
|
if ($r->lap !== null) { |
| 16 |
|
$out .= "\n<b>SINCE LAST CALL:</b> <b class=\"kint-microtime-lap\">".round($r->lap, 4).'</b>s.'; |
| 17 |
|
} |
| 18 |
|
if ($r->total !== null) { |
| 19 |
|
$out .= "\n<b>SINCE START:</b> ".round($r->total, 4).'s.'; |
| 20 |
|
} |
|
@@ 21-23 (lines=3) @@
|
| 18 |
|
if ($r->total !== null) { |
| 19 |
|
$out .= "\n<b>SINCE START:</b> ".round($r->total, 4).'s.'; |
| 20 |
|
} |
| 21 |
|
if ($r->avg !== null) { |
| 22 |
|
$out .= "\n<b>AVERAGE DURATION:</b> <span class=\"kint-microtime-avg\">".round($r->avg, 4).'</span>s.'; |
| 23 |
|
} |
| 24 |
|
|
| 25 |
|
$unit = array('B', 'KB', 'MB', 'GB', 'TB'); |
| 26 |
|
|