MCLOCK

8.169 MCLOCK — Time function

Description:
Returns the number of clock ticks since the start of the process, based on the function clock(3) in the C standard library.

This intrinsic is not fully portable, such as to systems with 32-bit INTEGER types but supporting times wider than 32 bits. 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.

Standard:
GNU extension
Class:
Function
Syntax:
RESULT = MCLOCK()
Return value:
The return value is a scalar of type INTEGER(4), equal to the number of clock ticks since the start of the process, or -1 if the system does not support clock(3).
See also:
CTIME, GMTIME, LTIME, MCLOCK, TIME

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-4.9.3/gfortran/MCLOCK.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部