summaryrefslogtreecommitdiffstats
path: root/perform/pio_perf.h
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-12-19 22:10:15 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-12-19 22:10:15 (GMT)
commitc9782c380b9f7b25dd13be7d3533b8be784b85b6 (patch)
tree86dd5aeb21073b4f1fc2678923d5a4f0eb6975e3 /perform/pio_perf.h
parent5beabb3b75cdf5c11dfdd1d305113d284ab64e0f (diff)
downloadhdf5-c9782c380b9f7b25dd13be7d3533b8be784b85b6.zip
hdf5-c9782c380b9f7b25dd13be7d3533b8be784b85b6.tar.gz
hdf5-c9782c380b9f7b25dd13be7d3533b8be784b85b6.tar.bz2
[svn-r4746]
Purpose: Feature Fix Description: Changed so the "pio_perf" module handles creating and destroying the MPI Comm. Worked it so we get the minimum, maximum, and average times over a set of iterations. Solution: Lots. Had to pull the MPI Comm code from the "pio_engine" module and place it in the "pio_perf" module. Then worked on a way to have all processes send their time output to process 0, who collects it and gives back the min, max, and avg times for the iterations. Platforms tested: Linux. Doesn't work if you use more than 1 processor...*hrmph*
Diffstat (limited to 'perform/pio_perf.h')
-rw-r--r--perform/pio_perf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/perform/pio_perf.h b/perform/pio_perf.h
index d954591..5ae3faa 100644
--- a/perform/pio_perf.h
+++ b/perform/pio_perf.h
@@ -39,6 +39,10 @@ typedef struct results_ {
#define FAIL -1
#endif /* !FAIL */
+extern MPI_Comm pio_comm_g; /* Communicator to run the PIO */
+extern int pio_mpi_rank_g; /* MPI rank of pio_comm_g */
+extern int pio_mpi_nprocs_g; /* number of processes of pio_comm_g */
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */