This commit is contained in:
thinkphp
2016-07-28 10:37:11 +08:00
parent 5d5a080819
commit 3357768d14
5 changed files with 5 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ class Console
return false;
}
// 获取基本信息
$runtime = round(microtime(true) - THINK_START_TIME, 10);
$runtime = number_format(microtime(true) - THINK_START_TIME, 10);
$reqs = number_format(1 / $runtime, 2);
$mem = number_format((memory_get_usage() - THINK_START_MEM) / 1024, 2);