X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=test%2Fapp_test%2Flcaller.c;h=b490781095b8ab147846c9c289b4371f94b11f01;hb=02e8d49f42d94b51494977aa0d6f67479f1ceb1c;hp=0d246d889ed7ce2e5c6ecb85a5f391c9f438e70a;hpb=5200efe1e6dd13b1e1241ce623c4978151be34e8;p=ric-plt%2Flib%2Frmr.git diff --git a/test/app_test/lcaller.c b/test/app_test/lcaller.c index 0d246d8..b490781 100644 --- a/test/app_test/lcaller.c +++ b/test/app_test/lcaller.c @@ -162,11 +162,11 @@ static void print_stats( tdata_t* td, int out, int hist ) { if( hist ) { for( j = 0; j < td->nbins; j++ ) { - fprintf( stderr, "%3d %d\n", j, out ? td->out_bins[j] : td->in_bins[j] ); + fprintf( stderr, " hist: bin[%03d] %d\n", j, out ? td->out_bins[j] : td->in_bins[j] ); } } - fprintf( stderr, "%s: oor=%d max=%.2fms mean=%.2fms 95th=%.2fms 99th=%.2f\n", + fprintf( stderr, " %s: oor=%d max=%.2fms mean=%.2fms 95th=%.2fms 99th=%.2f\n", out ? "out" : " in", oor, (double)max/1000000.0, (double)mean/100.0, (double) i95/100.0, i99/100.0 ); } @@ -293,7 +293,7 @@ static void* mk_calls( void* data ) { break; default: - fprintf( stderr, "unexpected error: tid=%d rmr-state=%d ernro=%d\n", control->id, sbuf->state, errno ); + fprintf( stderr, " unexpected error: tid=%d rmr-state=%d ernro=%d\n", control->id, sbuf->state, errno ); sbuf = rmr_alloc_msg( control->mrc, 512 ); // allocate a sendable buffer if( successful ) { fail_count++; // count failures after first successful message