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:
parent
af610a0baf
commit
46cf773f2f
3 changed files with 20 additions and 20 deletions
|
@ -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 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue