summaryrefslogtreecommitdiffstats
path: root/tools/test/perform/pio_perf.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-01-12 15:35:48 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-01-12 15:35:48 (GMT)
commit105c94dd2bfc1a05b3d1191ecde8cd691efdfb2c (patch)
treef2c0c64a16edd36db760ce30f23716d75aa010d7 /tools/test/perform/pio_perf.c
parent6b6afd7a94802d88e662a1e264b304904e975965 (diff)
downloadhdf5-105c94dd2bfc1a05b3d1191ecde8cd691efdfb2c.zip
hdf5-105c94dd2bfc1a05b3d1191ecde8cd691efdfb2c.tar.gz
hdf5-105c94dd2bfc1a05b3d1191ecde8cd691efdfb2c.tar.bz2
Fix CMake test macros and perform standalone tests
Diffstat (limited to 'tools/test/perform/pio_perf.c')
-rw-r--r--tools/test/perform/pio_perf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/perform/pio_perf.c b/tools/test/perform/pio_perf.c
index 9f4d116..5977731 100644
--- a/tools/test/perform/pio_perf.c
+++ b/tools/test/perform/pio_perf.c
@@ -1155,9 +1155,9 @@ report_parameters(struct options *opts)
recover_size_and_print((long long)(opts->num_bpp * opts->max_num_procs), "\n");
HDfprintf(output, "rank %d: File size=", rank);
- recover_size_and_print((long long)(pow(opts->num_bpp * opts->min_num_procs,2)
+ recover_size_and_print((long long)(pow((double)(opts->num_bpp * opts->min_num_procs),2)
* opts->num_dsets), ":");
- recover_size_and_print((long long)(pow(opts->num_bpp * opts->max_num_procs,2)
+ recover_size_and_print((long long)(pow((double)(opts->num_bpp * opts->max_num_procs),2)
* opts->num_dsets), "\n");
HDfprintf(output, "rank %d: Transfer buffer size=", rank);