summaryrefslogtreecommitdiffstats
path: root/perform/pio_perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'perform/pio_perf.c')
-rw-r--r--perform/pio_perf.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/perform/pio_perf.c b/perform/pio_perf.c
index 5168bdd..337e982 100644
--- a/perform/pio_perf.c
+++ b/perform/pio_perf.c
@@ -1116,14 +1116,14 @@ recover_size_and_print(long long val, const char *end)
if (val >= ONE_KB && (val % ONE_KB) == 0) {
if (val >= ONE_MB && (val % ONE_MB) == 0) {
if (val >= ONE_GB && (val % ONE_GB) == 0)
- HDfprintf(output, "%lldGB%s", val / ONE_GB, end);
+ HDfprintf(output, "%HdGB%s", val / ONE_GB, end);
else
- HDfprintf(output, "%lldMB%s", val / ONE_MB, end);
+ HDfprintf(output, "%HdMB%s", val / ONE_MB, end);
} else {
- HDfprintf(output, "%lldKB%s", val / ONE_KB, end);
+ HDfprintf(output, "%HdKB%s", val / ONE_KB, end);
}
} else {
- HDfprintf(output, "%lld%s", val, end);
+ HDfprintf(output, "%Hd%s", val, end);
}
}
@@ -1150,11 +1150,11 @@ report_parameters(struct options *opts)
HDfprintf(output, "rank %d: IO API=", rank);
print_io_api(opts->io_types);
- HDfprintf(output, "rank %d: Number of files=%lld\n", rank,
+ HDfprintf(output, "rank %d: Number of files=%Hd\n", rank,
(long long)opts->num_files);
- HDfprintf(output, "rank %d: Number of datasets=%lld\n", rank,
+ HDfprintf(output, "rank %d: Number of datasets=%Hd\n", rank,
(long long)opts->num_dsets);
- HDfprintf(output, "rank %d: Number of iterations=%lld\n", rank,
+ HDfprintf(output, "rank %d: Number of iterations=%Hd\n", rank,
(long long)opts->num_iters);
HDfprintf(output, "rank %d: Number of processes=%d:%d\n", rank,
opts->min_num_procs, opts->max_num_procs);