summaryrefslogtreecommitdiffstats
path: root/perform/pio_timer.h
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-11-15 22:46:32 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-11-15 22:46:32 (GMT)
commitaf35ac0ec1aa4ca7ec31ae58cf8e47b620f54062 (patch)
treea6fe604e17deeea9c5844dd8e950ca7739dba813 /perform/pio_timer.h
parent5077ac0c90290efc9611fcfca7c689f9b66b6d0d (diff)
downloadhdf5-af35ac0ec1aa4ca7ec31ae58cf8e47b620f54062.zip
hdf5-af35ac0ec1aa4ca7ec31ae58cf8e47b620f54062.tar.gz
hdf5-af35ac0ec1aa4ca7ec31ae58cf8e47b620f54062.tar.bz2
[svn-r4608]
Purpose: bug Fix Description: Changed the code so that if parallel stuff isn't enabled, then we don't compile the parallel code. Solution: Cleaned up the code and put #ifdef's around it checking for parallel flags. Platforms tested: Linux
Diffstat (limited to 'perform/pio_timer.h')
-rw-r--r--perform/pio_timer.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/perform/pio_timer.h b/perform/pio_timer.h
index 637b2bb..620d0c4 100644
--- a/perform/pio_timer.h
+++ b/perform/pio_timer.h
@@ -4,10 +4,10 @@
* All rights reserved.
*
*/
-#ifndef PERF_TIMER__
-#define PERF_TIMER__
+#ifndef PIO_TIMER__
+#define PIO_TIMER__
-#if 0
+#include "hdf5.h"
#if defined(H5_TIME_WITH_SYS_TIME)
# include <sys/time.h>
@@ -18,13 +18,6 @@
# include <time.h>
#endif
-#else
-
-#include <sys/time.h>
-#include <time.h>
-
-#endif /* 0 */
-
/* The different types of timers we can have */
typedef enum timer_type_ {
HDF5_MPI_OVERHEAD,
@@ -67,4 +60,4 @@ extern double get_time(perf_time *pt, timer_type t);
}
#endif /* __cplusplus */
-#endif /* PERF_TIMER__ */
+#endif /* PIO_TIMER__ */