forked from wolfSSL/wolfssl
Correct the output for multi-threaded benchmark usign -base10
option.
This commit is contained in:
@ -934,8 +934,9 @@ static THREAD_LS_T byte* bench_iv = NULL;
|
|||||||
/* print final stat */
|
/* print final stat */
|
||||||
if (isLast) {
|
if (isLast) {
|
||||||
if (bstat->type == BENCH_STAT_SYM) {
|
if (bstat->type == BENCH_STAT_SYM) {
|
||||||
printf("%-12s%s %8.3f MB/s\n", bstat->desc,
|
printf("%-16s%s %8.3f %s/s\n", bstat->desc,
|
||||||
BENCH_ASYNC_GET_NAME(bstat->doAsync), bstat->perfsec);
|
BENCH_ASYNC_GET_NAME(bstat->doAsync), bstat->perfsec,
|
||||||
|
base2 ? "MB" : "mB");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
printf("%-5s %4d %-9s %s %.3f ops/sec\n",
|
printf("%-5s %4d %-9s %s %.3f ops/sec\n",
|
||||||
|
Reference in New Issue
Block a user