summaryrefslogtreecommitdiffstats
path: root/perform/pio_perf.h
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2002-05-06 23:58:57 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2002-05-06 23:58:57 (GMT)
commit74861bfaeb8553113c56deb306522e53f3531539 (patch)
treebbee279f34ad21b6c48f1d7592b18cc66707b005 /perform/pio_perf.h
parenta82e8892c4005d695cfa5220ffcb7eeb6d0baa9e (diff)
downloadhdf5-74861bfaeb8553113c56deb306522e53f3531539.zip
hdf5-74861bfaeb8553113c56deb306522e53f3531539.tar.gz
hdf5-74861bfaeb8553113c56deb306522e53f3531539.tar.bz2
[svn-r5367] Purpose:
Modification Description: Put some of the variables into the global space so that random functions can access them. (The output and timer variables which point to the output file and timer resp.) Placed the debug level 4 prints into the timer module so that it's easier to automatically put timer start/stop printfs for new timers which are created. Added timers for MPI Time calls (called HDF5_MPI_WRITE and HDF5_MPI_READ). Platforms tested: Linux
Diffstat (limited to 'perform/pio_perf.h')
-rw-r--r--perform/pio_perf.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/perform/pio_perf.h b/perform/pio_perf.h
index 67beb3c..89cba72 100644
--- a/perform/pio_perf.h
+++ b/perform/pio_perf.h
@@ -40,8 +40,10 @@ typedef struct results_ {
#define FAIL -1
#endif /* !FAIL */
-extern int comm_world_rank_g; /* my rank in MPI_COMM_RANK */
-extern int comm_world_nprocs_g;/* num. of processes of MPI_COMM_WORLD */
+extern FILE *output; /* output file */
+extern pio_time *timer; /* timer: global for stub functions */
+extern int comm_world_rank_g; /* my rank in MPI_COMM_RANK */
+extern int comm_world_nprocs_g;/* num. of processes of MPI_COMM_WORLD */
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 */
@@ -50,13 +52,14 @@ extern int pio_debug_level; /* The debug level:
* 1 - Minimal
* 2 - Some more
* 3 - Maximal
+ * 4 - Even More Debugging (timer stuff)
*/
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-extern results do_pio(FILE * output, parameters param);
+extern results do_pio(parameters param);
#ifdef __cplusplus
}