[Overview][Constants][Types][Procedures and functions] Reference for unit 'BaseUnix' (#rtl)

FpTimes

Return execution times for the current process

Declaration

Source position: bunxh.inc line 37

function FpTimes(

  var buffer: tms

):TClock;

Description

fpTimesstores the execution time of the current process and child processes in buffer.

The return value (on linux) is the number of clock ticks since boot time. On error, -1 is returned, and extended error information can be retrieved with fpGetErrno.

See also

fpUTime

  

Set access and modification times of a file (touch).