Sign in Join
FPDoc Onlineexperiment

FpTimes function

In unit BaseUnix

Return execution times for the current process.

Declaration

pascal
function FpTimes(var buffer: tms): TClock

Description

fpTimes stores 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.