summaryrefslogtreecommitdiffstats
path: root/perform/pio_perf.h
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2002-05-28 04:04:18 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2002-05-28 04:04:18 (GMT)
commitacac31a7f4d5c2b6d11fd317bef0ba37a98d9ed5 (patch)
tree026b774266135d9e30537d91cb9742a73c6f929a /perform/pio_perf.h
parentbb5b53d9baac260ce96fbd6ca3f7fc44812fbdb2 (diff)
downloadhdf5-acac31a7f4d5c2b6d11fd317bef0ba37a98d9ed5.zip
hdf5-acac31a7f4d5c2b6d11fd317bef0ba37a98d9ed5.tar.gz
hdf5-acac31a7f4d5c2b6d11fd317bef0ba37a98d9ed5.tar.bz2
[svn-r5463] Description:
Folded the changes made in v1.4 into v1.5. 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. Setup a macro, H5_HAVE_NOFILL, to indicate if Dataset no fill feature is supported. If not, --no-fill is an invalid option. Platforms tested: modi4
Diffstat (limited to 'perform/pio_perf.h')
-rw-r--r--perform/pio_perf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/perform/pio_perf.h b/perform/pio_perf.h
index 89aa879..efb100d 100644
--- a/perform/pio_perf.h
+++ b/perform/pio_perf.h
@@ -10,6 +10,11 @@
#include "pio_timer.h"
#include "H5private.h"
+/* setup the dataset no fill option if this is v1.5 or more */
+#if H5_VERS_MAJOR > 1 || H5_VERS_MINOR > 4
+#define H5_HAVE_NOFILL 1
+#endif
+
typedef enum iotype_ {
POSIXIO,
MPIO,