mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
[svn-r2320] Patched "print_stats" routine parameters for machines with no getrusage() call.
(Like the Crays)
This commit is contained in:
parent
ae69e30f76
commit
befd08fb80
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user