From cd1b64928beaad300a562d8ea02efc47b45a1af1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 7 Jan 2010 18:16:57 +0100 Subject: enable more tests --- lf_ring_buffer_test.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/lf_ring_buffer_test.c b/lf_ring_buffer_test.c index b7a7d30..8baf232 100644 --- a/lf_ring_buffer_test.c +++ b/lf_ring_buffer_test.c @@ -132,21 +132,13 @@ int main( int argc, char** argv ) { //report( "read ", b_len, sequential_reads( ring, b_len, 0 ) ); sequential_reads( ring, b_len, LFRB_NO_BLOCK ); - for(i=5; i<=100;i*=22) { + for(i=5; i<=100;i*=2) { printf("%d parallel blocking with backoff inc write operations .... \n",i); parallel_writes( i, ring, b_len, 0 ); printf("parallel blocking read operations ...\n"); sequential_reads( ring, b_len, 0 ); } - /* - for(i=5; i<=100;i*=22) { - printf("%d parallel blocking with no backoff inc write operations .... \n",i); - parallel_writes( i, ring, b_len, LFRB_NO_BACKOFF_INC ); - printf("parallel blocking read operations ...\n"); - sequential_reads( ring, b_len, LFRB_NO_BACKOFF_INC ); - } - */ - for(i=5; i<=100;i*=22) { + for(i=5; i<=100;i*=2) { printf("%d parallel non blocking write operations .... \n",i); parallel_writes( i, ring, b_len, LFRB_NO_BLOCK ); printf("non blocking read operations ...\n"); -- cgit v1.1-2-g2b99