mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-08-30 12:45:32 +08:00
START_TIME START_MEM 更改为 THINK_START_TIME THINK_START_MEM
This commit is contained in:
@@ -43,9 +43,9 @@ class Html
|
||||
{
|
||||
|
||||
// 获取基本信息
|
||||
$runtime = number_format(microtime(true), 8, '.', '') - START_TIME;
|
||||
$runtime = number_format(microtime(true), 8, '.', '') - THINK_START_TIME;
|
||||
$reqs = number_format(1 / $runtime, 2);
|
||||
$mem = number_format((memory_get_usage() - START_MEM) / 1024, 2);
|
||||
$mem = number_format((memory_get_usage() - THINK_START_MEM) / 1024, 2);
|
||||
|
||||
// 页面Trace信息
|
||||
if (isset($_SERVER['HTTP_HOST'])) {
|
||||
|
||||
Reference in New Issue
Block a user