mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-28 16:22:39 +02:00
33 lines
634 B
PHP
33 lines
634 B
PHP
|
|
const
|
|
CLOCKS_PER_SEC = 1000000;
|
|
|
|
function __sysconf(_para1:longint):longint;cdecl;external clib name '__sysconf';
|
|
function CLK_TCK : __clock_t;
|
|
|
|
const
|
|
CLOCK_REALTIME = 0;
|
|
CLOCK_PROCESS_CPUTIME_ID = 2;
|
|
CLOCK_THREAD_CPUTIME_ID = 3;
|
|
TIMER_ABSTIME = 1;
|
|
|
|
const
|
|
_STRUCT_TIMEVAL = 1;
|
|
|
|
type
|
|
Ptimeval = ^timeval;
|
|
timeval = record
|
|
tv_sec : __time_t;
|
|
tv_usec : __suseconds_t;
|
|
end;
|
|
|
|
|
|
|
|
{ ---------------------------------------------------------------------
|
|
Borland compatibility types
|
|
---------------------------------------------------------------------}
|
|
|
|
Type
|
|
TTimeVal = timeval;
|
|
|
|
|