Fix wrong output in the benchmark application

The benchmark application prints the performance in Kb/s,
While it actually calculates KB/s.
Resolves issue #850
This commit is contained in:
Ron Eldor 2017-05-14 15:55:06 +03:00
parent af610a0baf
commit 46cf773f2f
3 changed files with 20 additions and 20 deletions

View file

@ -229,7 +229,7 @@ do { \
CODE; \
} \
\
mbedtls_printf( "%9lu Kb/s, %9lu cycles/byte\r\n", \
mbedtls_printf( "%9lu KB/s, %9lu cycles/byte\r\n", \
i * BUFSIZE / 1024, \
( mbedtls_timing_hardclock() - tsc ) / ( j * BUFSIZE ) ); \
} while( 0 )