Commit 339b9dc2 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Put duration in parenthesis

parent cfcd5d6d
...@@ -432,8 +432,9 @@ static void repl() { ...@@ -432,8 +432,9 @@ static void repl() {
cliPrintContextErrorAndExit(); cliPrintContextErrorAndExit();
} }
elapsed = mstime()-start_time; elapsed = mstime()-start_time;
if (elapsed > 500) printf("%.2f seconds\n", if (elapsed >= 500) {
(double)elapsed/1000); printf("(%.2fs)\n",(double)elapsed/1000);
}
} }
} }
/* Free the argument vector */ /* Free the argument vector */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment