mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 15:18:06 +00:00
Code cosmetics
This commit is contained in:
parent
8b7d7d6c0b
commit
7defc7759d
1 changed files with 6 additions and 5 deletions
|
@ -106,7 +106,7 @@
|
||||||
do { \
|
do { \
|
||||||
unsigned long i, j, tsc; \
|
unsigned long i, j, tsc; \
|
||||||
\
|
\
|
||||||
polarssl_printf( HEADER_FORMAT, TITLE ); \
|
polarssl_printf( HEADER_FORMAT, TITLE ); \
|
||||||
fflush( stdout ); \
|
fflush( stdout ); \
|
||||||
\
|
\
|
||||||
set_alarm( 1 ); \
|
set_alarm( 1 ); \
|
||||||
|
@ -121,8 +121,9 @@ do { \
|
||||||
CODE; \
|
CODE; \
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
polarssl_printf( "%9lu Kb/s, %9lu cycles/byte\n", i * BUFSIZE / 1024, \
|
polarssl_printf( "%9lu Kb/s, %9lu cycles/byte\n", \
|
||||||
( hardclock() - tsc ) / ( j * BUFSIZE ) ); \
|
i * BUFSIZE / 1024, \
|
||||||
|
( hardclock() - tsc ) / ( j * BUFSIZE ) ); \
|
||||||
} while( 0 )
|
} while( 0 )
|
||||||
|
|
||||||
#if defined(POLARSSL_ERROR_C)
|
#if defined(POLARSSL_ERROR_C)
|
||||||
|
@ -177,9 +178,9 @@ do { \
|
||||||
} \
|
} \
|
||||||
else \
|
else \
|
||||||
{ \
|
{ \
|
||||||
polarssl_printf( "%6lu " TYPE "/s", i / 3 ); \
|
polarssl_printf( "%6lu " TYPE "/s", i / 3 ); \
|
||||||
MEMORY_MEASURE_PRINT( sizeof( TYPE ) + 1 ); \
|
MEMORY_MEASURE_PRINT( sizeof( TYPE ) + 1 ); \
|
||||||
polarssl_printf( "\n" ); \
|
polarssl_printf( "\n" ); \
|
||||||
} \
|
} \
|
||||||
} while( 0 )
|
} while( 0 )
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue