mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01: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:
parent
af610a0baf
commit
46cf773f2f
3 changed files with 20 additions and 20 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue