mclock(3) CLIX mclock(3)
NAME
mclock - Returns FORTRAN time accounting
LIBRARY
Math Library (libap_m.a)
SYNOPSIS
integer i
i = mclock()
DESCRIPTION
The mclock() function returns time accounting information about the
current process and its child processes. The value returned is the sum of
the current process's user time and the user and system times of all child
processes.
EXAMPLES
The following returns time accounting information about the current
process and its child processes:
PROGRAM fmclock
IMPLICIT NONE
INTEGER ans
ans = MCLOCK()
PRINT *, 'Time taken is ',ans
END
RETURN VALUES
See DESCRIPTION.
RELATED INFORMATION
Functions: times(2), clock(3), system(3)
2/94 - Intergraph Corporation 1