sysclock(3F)

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

Showing IRIX 6.5.30 (default release). Last changed in IRIX 6.5.19.

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

SYNOPSIS
     INTEGER ICOUNT, IWRAP

     CALL SYSCLOCK (icount, iwrap)

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.

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

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