summaryrefslogtreecommitdiffstats
path: root/perform/perf_meta.c
diff options
context:
space:
mode:
Diffstat (limited to 'perform/perf_meta.c')
-rw-r--r--perform/perf_meta.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/perform/perf_meta.c b/perform/perf_meta.c
index 279c8de..8c3b06f 100644
--- a/perform/perf_meta.c
+++ b/perform/perf_meta.c
@@ -21,7 +21,6 @@
*/
#include "h5test.h"
-#include <sys/time.h>
#ifdef H5_HAVE_PARALLEL
#define MAINPROCESS (!mpi_rank) /* define process 0 as main process */
@@ -683,7 +682,7 @@ double retrieve_time(void)
if(facc_type == FACC_DEFAULT) {
#endif /*H5_HAVE_PARALLEL*/
struct timeval t;
- gettimeofday(&t, NULL);
+ HDgettimeofday(&t, NULL);
return ((double)t.tv_sec + (double)t.tv_usec / 1000000);
#ifdef H5_HAVE_PARALLEL
} else {