summaryrefslogtreecommitdiffstats
path: root/perform/pio_timer.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-10-07 15:24:56 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-10-07 15:24:56 (GMT)
commit0d8bd0c44d3b177e98e4a17db08d6eaee288b463 (patch)
tree862bdc63a727df71fb0b74e6f3d14950c39f56e5 /perform/pio_timer.c
parent1f115749c4e53c2cd83744fd4008897b3cb96e77 (diff)
downloadhdf5-0d8bd0c44d3b177e98e4a17db08d6eaee288b463.zip
hdf5-0d8bd0c44d3b177e98e4a17db08d6eaee288b463.tar.gz
hdf5-0d8bd0c44d3b177e98e4a17db08d6eaee288b463.tar.bz2
[svn-r21484] Add HDprefix and change when pio_timer.h is included
Tested
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 +