mirror of
https://github.com/fluencelabs/redis
synced 2025-05-20 14:11:20 +00:00
Put duration in parenthesis
This commit is contained in:
parent
cfcd5d6d43
commit
339b9dc2d2
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user