MCLOCK — Time function#

MCLOCK()#

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

Returns:

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).

Standard:

GNU extension

Class:

Function

Syntax:
RESULT = MCLOCK()
See also:

CTIME — Convert a time into a string, GMTIME — Convert time to GMT info, LTIME — Convert time to local time info, MCLOCK — Time function, TIME — Time function