[svn-r2320] Patched "print_stats" routine parameters for machines with no getrusage() call.

(Like the Crays)
This commit is contained in:
Quincey Koziol 2000-06-02 09:31:04 -05:00
parent ae69e30f76
commit befd08fb80

View File

@ -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