$out =
$dt->
format('Y-m-d H:i:s.u'
);
if (null !==
$r->lap
) { $out .= '<br><b>SINCE LAST CALL:</b> <span class="kint-microtime-lap">'.\
round($r->lap, 4
).'</span>s.';
} if (null !==
$r->total
) { $out .= '<br><b>SINCE START:</b> '.\
round($r->total, 4
).'s.';
} if (null !==
$r->avg
) { $out .= '<br><b>AVERAGE DURATION:</b> <span class="kint-microtime-avg">'.\
round($r->avg, 4
).'</span>s.';
} $bytes = Utils::
getHumanReadableBytes($r->mem
);
$out .= '<br><b>MEMORY USAGE:</b> '.
$r->mem.' bytes ('.\
round($bytes['value'
], 3
).' '.
$bytes['unit'
].')';
$bytes = Utils::
getHumanReadableBytes($r->mem_real
);
$out .= ' (real '.\
round($bytes['value'
], 3
).' '.
$bytes['unit'
].')';
$bytes = Utils::
getHumanReadableBytes($r->mem_peak
);
$out .= '<br><b>PEAK MEMORY USAGE:</b> '.
$r->mem_peak.' bytes ('.\
round($bytes['value'
], 3
).' '.
$bytes['unit'
].')';
$bytes = Utils::
getHumanReadableBytes($r->mem_peak_real
);
$out .= ' (real '.\
round($bytes['value'
], 3
).' '.
$bytes['unit'
].')';
return '<pre data-kint-microtime-group="'.
$r->group.'">'.
$out.'</pre>';
}