summaryrefslogtreecommitdiffstats
path: root/perform
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2002-05-24 19:27:13 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2002-05-24 19:27:13 (GMT)
commit29b666ac7670df4ddc8f907e219d064be78ac96f (patch)
tree2a89638b7e28ecf8d548afe063614e43b0b0efa9 /perform
parentcc3aa234518253c4b82a00f0a83474283eeee4df (diff)
downloadhdf5-29b666ac7670df4ddc8f907e219d064be78ac96f.zip
hdf5-29b666ac7670df4ddc8f907e219d064be78ac96f.tar.gz
hdf5-29b666ac7670df4ddc8f907e219d064be78ac96f.tar.bz2
[svn-r5460] Purpose:
Features. Description: print library version information in help page too. Specify the nofill feature supported in v1.5 only. Print the values of the KB, MB and GB in case a user wants to see them. Platforms tested: modi4
Diffstat (limited to 'perform')
-rw-r--r--perform/pio_perf.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/perform/pio_perf.c b/perform/pio_perf.c
index e44e2b8..4eaf15c 100644
--- a/perform/pio_perf.c
+++ b/perform/pio_perf.c
@@ -1148,6 +1148,7 @@ usage(const char *prog)
if (myrank == 0) {
fflush(stdout);
+ print_version(prog);
printf("usage: %s [OPTIONS]\n", prog);
printf(" OPTIONS\n");
printf(" -h, --help Print a usage message and exit\n");
@@ -1164,6 +1165,7 @@ usage(const char *prog)
printf(" -F N, --num-files=N Number of files [default: 1]\n");
printf(" -i, --num-iterations Number of iterations to perform [default: 1]\n");
printf(" -n, --no-fill Don't write fill values to HDF5 dataset\n");
+ printf(" (Supported in HDF5 library v1.5 only)\n");
printf(" [default: off (i.e. write fill values)]\n");
printf(" -o F, --output=F Output raw data into file F [default: none]\n");
printf(" -P N, --max-num-processes=N Maximum number of processes to use\n");
@@ -1177,11 +1179,11 @@ usage(const char *prog)
printf(" F - is a filename.\n");
printf(" N - is an integer >=0.\n");
printf(" S - is a size specifier, an integer >=0 followed by a size indicator:\n");
- printf(" K - Kilobyte\n");
- printf(" M - Megabyte\n");
- printf(" G - Gigabyte\n");
+ printf(" K - Kilobyte (%d)\n", ONE_KB);
+ printf(" M - Megabyte (%d)\n", ONE_MB);
+ printf(" G - Gigabyte (%d)\n", ONE_GB);
printf("\n");
- printf(" Example: 37M = 37 Megabytes\n");
+ printf(" Example: 37M = 37 Megabytes = %d bytes\n", 37*ONE_MB);
printf("\n");
printf(" AL - is an API list. Valid values are:\n");
printf(" phdf5 - Parallel HDF5\n");