summaryrefslogtreecommitdiffstats
path: root/perform
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2002-01-09 19:39:21 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2002-01-09 19:39:21 (GMT)
commit08926d9f6ed838b232c7536d072adf7c41f0bb85 (patch)
tree97b439eb40a8af4961c684ffeb482c4fdaa02499 /perform
parentd7684581aafdd8e12fe1148e5f1ba729b3dce7a5 (diff)
downloadhdf5-08926d9f6ed838b232c7536d072adf7c41f0bb85.zip
hdf5-08926d9f6ed838b232c7536d072adf7c41f0bb85.tar.gz
hdf5-08926d9f6ed838b232c7536d072adf7c41f0bb85.tar.bz2
[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)
Diffstat (limited to 'perform')
-rw-r--r--perform/pio_perf.c4
1 files 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,