From 292aa196fb5dd91793b5d16707a7de8625bde292 Mon Sep 17 00:00:00 2001 From: Hideki Miyazaki Date: Fri, 7 Jun 2019 12:05:19 +0900 Subject: [PATCH] minor fix to print stats in tls_bench --- examples/benchmark/tls_bench.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/benchmark/tls_bench.c b/examples/benchmark/tls_bench.c index c52935ad7..5be7f63db 100644 --- a/examples/benchmark/tls_bench.c +++ b/examples/benchmark/tls_bench.c @@ -1195,10 +1195,10 @@ static void print_stats(stats_t* wcStat, const char* desc, const char* cipher, i cipher, wcStat->txTotal + wcStat->rxTotal, wcStat->connCount, - wcStat->txTime * 1000, wcStat->rxTime * 1000, - wcStat->txTotal / wcStat->txTime / 1024 / 1024, + wcStat->txTime * 1000, wcStat->rxTotal / wcStat->rxTime / 1024 / 1024, + wcStat->txTotal / wcStat->txTime / 1024 / 1024, wcStat->connTime * 1000, wcStat->connTime * 1000 / wcStat->connCount); }