1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

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

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