SYSCLOCK(3F) Last changed: 2-6-97
SYSCLOCK - Returns real-time clock value and number of wraps
INTEGER ICOUNT, IWRAP
CALL SYSCLOCK (icount, iwrap)
UNICOS, UNICOS/mk, and IRIX systems
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.
iwrap always returns 0 on 64-bit systems.
IRTC(3I), SYSTEM_CLOCK(3I), TIMEF(3F)
Application Programmer's Library Reference Manual, publication SR2165,
for the printed version of this man page.
SYSCLOCK(3F) Last changed: 2-6-97
SYSCLOCK - Returns real-time clock value and number of wraps
INTEGER ICOUNT, IWRAP
CALL SYSCLOCK (icount, iwrap)
UNICOS, UNICOS/mk, and IRIX systems
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.
iwrap always returns 0 on 64-bit systems.
IRTC(3I), SYSTEM_CLOCK(3I), TIMEF(3F)
Application Programmer's Library Reference Manual, publication SR2165,
for the printed version of this man page.
[ Back ]
|