提交 339b9dc2 编写于 作者: P Pieter Noordhuis

Put duration in parenthesis

上级 cfcd5d6d
......@@ -432,8 +432,9 @@ static void repl() {
cliPrintContextErrorAndExit();
}
elapsed = mstime()-start_time;
if (elapsed > 500) printf("%.2f seconds\n",
(double)elapsed/1000);
if (elapsed >= 500) {
printf("(%.2fs)\n",(double)elapsed/1000);
}
}
}
/* Free the argument vector */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册