From 7defc7759d2bd47a692b1d607e210b1ca5be135b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Thu, 5 Feb 2015 11:42:42 +0100 Subject: [PATCH] Code cosmetics --- programs/test/benchmark.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/programs/test/benchmark.c b/programs/test/benchmark.c index 26db68390..65580ec67 100644 --- a/programs/test/benchmark.c +++ b/programs/test/benchmark.c @@ -106,7 +106,7 @@ do { \ unsigned long i, j, tsc; \ \ - polarssl_printf( HEADER_FORMAT, TITLE ); \ + polarssl_printf( HEADER_FORMAT, TITLE ); \ fflush( stdout ); \ \ set_alarm( 1 ); \ @@ -121,8 +121,9 @@ do { \ CODE; \ } \ \ - polarssl_printf( "%9lu Kb/s, %9lu cycles/byte\n", i * BUFSIZE / 1024, \ - ( hardclock() - tsc ) / ( j * BUFSIZE ) ); \ + polarssl_printf( "%9lu Kb/s, %9lu cycles/byte\n", \ + i * BUFSIZE / 1024, \ + ( hardclock() - tsc ) / ( j * BUFSIZE ) ); \ } while( 0 ) #if defined(POLARSSL_ERROR_C) @@ -177,9 +178,9 @@ do { \ } \ else \ { \ - polarssl_printf( "%6lu " TYPE "/s", i / 3 ); \ + polarssl_printf( "%6lu " TYPE "/s", i / 3 ); \ MEMORY_MEASURE_PRINT( sizeof( TYPE ) + 1 ); \ - polarssl_printf( "\n" ); \ + polarssl_printf( "\n" ); \ } \ } while( 0 )