diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2000-06-02 14:30:53 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2000-06-02 14:30:53 (GMT) |
commit | 71fb1d5ff0d0b1baecaf89ee608cbd9fe6ff87ad (patch) | |
tree | 97d325a77b8267e60f8839ad78c344050ec22924 | |
parent | 7659424cc83f0544a6cf981f1d81cea1ffd77f8b (diff) | |
download | hdf5-71fb1d5ff0d0b1baecaf89ee608cbd9fe6ff87ad.zip hdf5-71fb1d5ff0d0b1baecaf89ee608cbd9fe6ff87ad.tar.gz hdf5-71fb1d5ff0d0b1baecaf89ee608cbd9fe6ff87ad.tar.bz2 |
[svn-r2319] Patched "print_stats" routine parameters for machines with no getrusage() call.
(Like the Crays)
-rw-r--r-- | test/iopipe.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/iopipe.c b/test/iopipe.c index d53537d..9c614c0 100644 --- a/test/iopipe.c +++ b/test/iopipe.c @@ -79,11 +79,19 @@ * *------------------------------------------------------------------------- */ +#ifdef HAVE_GETRUSAGE static void print_stats (const char *prefix, struct rusage *r_start, struct rusage *r_stop, struct timeval *t_start, struct timeval *t_stop, size_t nbytes) +#else /* HAVE_GETRUSAGE */ +static void +print_stats (const char *prefix, + struct timeval *r_start, struct timeval *r_stop, + struct timeval *t_start, struct timeval *t_stop, + size_t nbytes) +#endif /* HAVE_GETRUSAGE */ { double e_time, bw; #ifdef HAVE_GETRUSAGE |