From 08926d9f6ed838b232c7536d072adf7c41f0bb85 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 9 Jan 2002 14:39:21 -0500 Subject: [svn-r4809] Purpose: Feature Fix Description: Instead of outputting the # of kilobytes in a transfer size, output the total bytes. This helps when you're interested in just doing a copy-paste type of thing for the transfer buffer size. Solution: Changed the output report Platforms tested: Linux(pp) --- perform/pio_perf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perform/pio_perf.c b/perform/pio_perf.c index c21d34c..1df854f 100644 --- a/perform/pio_perf.c +++ b/perform/pio_perf.c @@ -344,8 +344,8 @@ run_test_loop(FILE *output, struct options *opts) parms.num_elmts = opts->file_size / (parms.num_dsets * sizeof(int)); print_indent(output, TAB_SPACE * 1); - output_report(output, "Transfer Buffer Size: %.2f KBs, File size: %.2f MBs\n", - ((double)buf_size) / ONE_KB, + output_report(output, "Transfer Buffer Size: %ld bytes, File size: %.2f MBs\n", + buf_size, ((double)parms.num_dsets * parms.num_elmts * sizeof(int)) / ONE_MB); print_indent(output, TAB_SPACE * 1); output_report(output, -- cgit v0.12