summaryrefslogtreecommitdiffstats
path: root/perform/perf_meta.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-04-15 21:26:43 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-04-15 21:26:43 (GMT)
commitbb248deb5bb48820301848693692b0ee362a6277 (patch)
tree080ef9e110fc0739e278fbdb28c7cac17fc919bc /perform/perf_meta.c
parent0cf2a97cfbb6261cea3645d9109a7313e8bb9f5a (diff)
downloadhdf5-bb248deb5bb48820301848693692b0ee362a6277.zip
hdf5-bb248deb5bb48820301848693692b0ee362a6277.tar.gz
hdf5-bb248deb5bb48820301848693692b0ee362a6277.tar.bz2
[svn-r18581] Changes made to allow building programs on windows machines.
Tested: Windows, Local linux
Diffstat (limited to 'perform/perf_meta.c')
-rw-r--r--perform/perf_meta.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/perform/perf_meta.c b/perform/perf_meta.c
index b3966d6..8c3b06f 100644
--- a/perform/perf_meta.c
+++ b/perform/perf_meta.c
@@ -20,9 +20,6 @@
* Purpose: Tests performance of metadata
*/
-#include <stdlib.h>
-#include <string.h>
-#include <sys/time.h>
#include "h5test.h"
#ifdef H5_HAVE_PARALLEL
@@ -685,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 {