diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-11-15 22:46:32 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-11-15 22:46:32 (GMT) |
commit | af35ac0ec1aa4ca7ec31ae58cf8e47b620f54062 (patch) | |
tree | a6fe604e17deeea9c5844dd8e950ca7739dba813 /perform/pio_timer.h | |
parent | 5077ac0c90290efc9611fcfca7c689f9b66b6d0d (diff) | |
download | hdf5-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.h | 15 |
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__ */ |