sysclock(3F)

SYSCLOCK - Returns real-time clock value and number of wraps

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     SYSCLOCK - Returns real-time clock value and number of wraps

SYNOPSIS
     INTEGER ICOUNT, IWRAP

     CALL SYSCLOCK (icount, iwrap)

IMPLEMENTATION
     UNICOS, UNICOS/mk, and IRIX systems

DESCRIPTION
     SYSCLOCK returns the same real-time clock count returned by the count
     argument to the Fortran 90 SYSTEM_CLOCK intrinsic subroutine.

     On 32-bit systems, the real-time clock value for SYSTEM_CLOCK reaches
     count_max and wraps around to 0 occasionally.  The number of times
     that the clock has wrapped is returned in iwrap.  By using iwrap, you
     can reliably time intervals during which the clock may have wrapped
     one or more times.

     Use the count_rate argument on the SYSTEM_CLOCK intrinsic subroutine
     to determine the clock rate for SYSCLOCK.

     When using the CF90 compiler or MIPSpro Cray Fortran 90 compiler on
     UNICOS, UNICOS/mk, or IRIX, all arguments must be of default kind
     unless documented otherwise.  On UNICOS and UNICOS/mk, default kind is
     KIND=8 for integer, real, complex, and logical arguments; on IRIX, the
     default kind is KIND=4.

RETURN VALUES
     iwrap always returns 0 on 64-bit systems.

SEE ALSO
     IRTC(3I), SYSTEM_CLOCK(3I), TIMEF(3F)

     Application Programmer's Library Reference Manual, publication SR-
     2165, for the printed version of this man page.