Re: memory bandwidth

From: Kate Hedstrom (kate@ahab.rutgers.edu)
Date: Wed Oct 02 1991 - 17:23:01 CDT


John,

We have etime, not second(). Here is what the man page says - is dtime
what I want for a multi-cpu test?

> SYNOPSIS
> EXTERNAL ETIME
> REAL ETIME
> REAL TARRAY(2)
> REAL TSECS
> TSECS = ETIME(TARRAY)
>
> EXTERNAL DTIME
> REAL DTIME
> REAL TARRAY(2)
> REAL DTSECS
> DTSECS = DTIME(TARRAY)
>
> DESCRIPTION
> These two routines return elapsed runtime in seconds for the
> calling process. DTIME returns the elapsed time since the
> last call to DTIME or the start of execution on the first
> call.
>
> The argument array returns user time in the first element
> and system time in the second element. The function value
> is the sum of user and system time.
>
> The resolution of all timing is 1/100th of a second.

The output:

--------------------------------------
 Double precision appears to have 16 digits of accuracy
 Assuming 8 bytes per DOUBLEPRECISION word
--------------------------------------
 Timing calibration ; time = 749.0000307559967 hundredths
 of a second
 Increase the size of the arrays if this is <30 and your clock
 precision is =<1/100 second
---------------------------------------------------
 Function Rate (MB/s) RMS time Min time Max time
 Assignment: 83.1168 0.8135 0.7700 0.8700
 Scaling : 78.0488 0.8808 0.8200 0.9700
 Summing : 78.0488 1.3065 1.2300 1.3900
 SAXPYing : 70.0730 1.4586 1.3700 1.5100

Kate



This archive was generated by hypermail 2b29 : Tue Apr 18 2000 - 05:23:01 CDT