summaryrefslogtreecommitdiffstats
path: root/perform/pio_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'perform/pio_timer.c')
-rw-r--r--perform/pio_timer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/perform/pio_timer.c b/perform/pio_timer.c
index 66f9eb0..9c8abb7 100644
--- a/perform/pio_timer.c
+++ b/perform/pio_timer.c
@@ -22,7 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include "pio_timer.h"
+#include "hdf5.h"
#ifdef H5_HAVE_PARALLEL
@@ -157,7 +157,7 @@ set_time(pio_time *pt, timer_type t, int start_stop)
}
} else {
if (start_stop == START) {
- gettimeofday(&pt->sys_timer[t], NULL);
+ HDgettimeofday(&pt->sys_timer[t], NULL);
/* When we start the timer for HDF5_FINE_WRITE_FIXED_DIMS or HDF5_FINE_READ_FIXED_DIMS
* we compute the time it took to only open the file */
@@ -170,7 +170,7 @@ set_time(pio_time *pt, timer_type t, int start_stop)
} else {
struct timeval sys_t;
- gettimeofday(&sys_t, NULL);
+ HDgettimeofday(&sys_t, NULL);
pt->total_time[t] += sub_time(&sys_t, &(pt->sys_timer[t]));
/* ((double)sys_t.tv_sec +