sysclock(3F)

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

As shipped in IRIX 6.5.15. Last changed in IRIX 6.5.5.

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

SYNOPSIS
     INTEGER ICOUNT, IWRAP

     CALL SYSCLOCK (icount, iwrap)

IMPLEMENTATION
     UNICOS and UNICOS/mk systems

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

     On systems with default 32-bit integer data type, 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 on UNICOS or UNICOS/mk system, 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.

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 for the printed
     version of this man page.