secondr(3F)

SECONDR - Returns elapsed wall-clock time in seconds

As shipped in IRIX 6.5.30. Last changed in IRIX 6.5.19.

NAME
     SECONDR - Returns elapsed wall-clock time in seconds

SYNOPSIS
     REAL (KIND=8) SECONDR
     time=SECONDR( )

DESCRIPTION
     This routine is in libffio.so which is linked by default when
     compiling programs with the MIPSpro 7 Fortran 90 compiler or when
     compiling programs with the -craylibs option to the MIPSpro F77
     compiler.

     SECONDR can be called several times during the execution of a program
     to determine the amount of elapsed wall-clock time.

     time is the real-time clock values in floating-point seconds.  If the
     value of the real-time clock exceeds 48 bits, some accuracy may be
     lost during the conversion to float.  The argument must be of type
     real with KIND=8.

EXAMPLES
     This example calculates the elapsed wall-clock time from the first
     call to SECONDR until the second call to SECONDR.

          BEFORE = SECONDR( )
          CALL DOWORK ( )
          AFTER = SECONDR( )
          WALTIM = AFTER - BEFORE

SEE ALSO
     RTC(3I), SECOND(3F), TIMEF(3F), TSECND(3F)