@@ 18-20 (lines=3) @@ | ||
15 | } |
|
16 | ||
17 | $out = $r->getDateTime()->format('Y-m-d H:i:s.u'); |
|
18 | if ($r->lap !== null) { |
|
19 | $out .= "\n<b>SINCE LAST CALL:</b> <b class=\"kint-microtime-lap\">".round($r->lap, 4).'</b>s.'; |
|
20 | } |
|
21 | if ($r->total !== null) { |
|
22 | $out .= "\n<b>SINCE START:</b> ".round($r->total, 4).'s.'; |
|
23 | } |
|
@@ 24-26 (lines=3) @@ | ||
21 | if ($r->total !== null) { |
|
22 | $out .= "\n<b>SINCE START:</b> ".round($r->total, 4).'s.'; |
|
23 | } |
|
24 | if ($r->avg !== null) { |
|
25 | $out .= "\n<b>AVERAGE DURATION:</b> <span class=\"kint-microtime-avg\">".round($r->avg, 4).'</span>s.'; |
|
26 | } |
|
27 | ||
28 | $bytes = Utils::getHumanReadableBytes($r->mem); |
|
29 | $out .= "\n<b>MEMORY USAGE:</b> ".$r->mem.' bytes ('.round($bytes['value'], 3).' '.$bytes['unit'].')'; |