summaryrefslogtreecommitdiffstats
path: root/perform/pio_perf.h
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2001-11-07 15:28:33 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2001-11-07 15:28:33 (GMT)
commitbb76b558e6d5c3e1c35a5f08da480435db039e19 (patch)
tree9eac65359e20b54a5d367ee7a501e901edf826a8 /perform/pio_perf.h
parent965e3bc3e20cefeb81b0b88002c1dc42d197c2ff (diff)
downloadhdf5-bb76b558e6d5c3e1c35a5f08da480435db039e19.zip
hdf5-bb76b558e6d5c3e1c35a5f08da480435db039e19.tar.gz
hdf5-bb76b558e6d5c3e1c35a5f08da480435db039e19.tar.bz2
[svn-r4592] Purpose:
New addition Description: Initial version of the Parallel I/O performance measurement program. Not fully implemented yet but checking them in before I may destroy them by accident. Don't run this in small file system (like AFS or eirene) since it generates gigabytes test files. Platforms tested: modi4 64bits. It compiled and ran but took a long time because the current test parametes are too "wild".
Diffstat (limited to 'perform/pio_perf.h')
-rw-r--r--perform/pio_perf.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/perform/pio_perf.h b/perform/pio_perf.h
new file mode 100644
index 0000000..8f21df2
--- /dev/null
+++ b/perform/pio_perf.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2001
+ * National Center for Supercomputing Applications
+ * All rights reserved.
+ *
+ */
+#ifndef PIO_PERF_H__
+#define PIO_PERF_H__
+
+typedef enum iotype_ {
+ RAW,
+ MPIO,
+ PHDF5
+ /*NUM_TYPES*/
+} iotype;
+
+typedef struct parameters_ {
+ unsigned int max_num_procs; /* Maximum number of processes to use */
+ iotype io_type; /* The type of IO test to perform */
+ unsigned int num_files; /* Number of files to create */
+ unsigned long num_dsets; /* Number of datasets to create */
+ unsigned long num_elmts; /* Number of native ints in each dset */
+ unsigned int num_iters; /* Number of times to loop doing the IO */
+} parameters;
+
+#endif /* PIO_PERF_H__ */