btimeh.inc 626 B

123456789101112131415161718192021222324252627282930313233
  1. const
  2. CLOCKS_PER_SEC = 1000000;
  3. function __sysconf(_para1:longint):longint;cdecl;external clib name '__sysconf';
  4. function CLK_TCK : __clock_t;
  5. const
  6. CLOCK_REALTIME = 0;
  7. CLOCK_PROCESS_CPUTIME_ID = 2;
  8. CLOCK_THREAD_CPUTIME_ID = 3;
  9. TIMER_ABSTIME = 1;
  10. const
  11. _STRUCT_TIMEVAL = 1;
  12. type
  13. Ptimeval = ^timeval;
  14. timeval = record
  15. tv_sec : __time_t;
  16. tv_usec : __suseconds_t;
  17. end;
  18. { ---------------------------------------------------------------------
  19. Borland compatibility types
  20. ---------------------------------------------------------------------}
  21. Type
  22. TTimeVal = timeval;