Returns the number of clock ticks since the start of the process.
Supported on systems with
Warning: this intrinsic does not increase the range
of the timing values over that returned by
On a system with a 32-bit
MCLOCK8 will return a 32-bit value,
even though converted to an INTEGER(KIND=2) value.
That means overflows of the 32-bit value can still occur.
Therefore, the values returned by this intrinsic
might be, or become, negative,
or numerically less than previous values,
during a single run of the compiled program.
No Fortran implementations other than GNU Fortran are known to support this intrinsic at the time of this writing. See MClock Intrinsic, for information on a similar intrinsic that might be portable to more Fortran compilers, though to fewer GNU Fortran implementations.
If the system does not support
-1 is returned.