芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/minscoop.com/system/ThirdParty/Kint/Renderer/Rich/MicrotimePlugin.php
getDateTime())) { return null; } $out = $dt->format('Y-m-d H:i:s.u'); if (null !== $r->lap) { $out .= '
SINCE LAST CALL:
'.\round($r->lap, 4).'
s.'; } if (null !== $r->total) { $out .= '
SINCE START:
'.\round($r->total, 4).'s.'; } if (null !== $r->avg) { $out .= '
AVERAGE DURATION:
'.\round($r->avg, 4).'
s.'; } $bytes = Utils::getHumanReadableBytes($r->mem); $out .= '
MEMORY USAGE:
'.$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 .= '
PEAK MEMORY USAGE:
'.$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 '
'.$out.'
'; } public static function renderJs(): string { if (\is_string($out = \file_get_contents(KINT_DIR.'/resources/compiled/microtime.js'))) { return $out; } return ''; } }