timerd.inc 579 B

12345678910111213141516171819
  1. { setup }
  2. Function ptc_timer_create : TPTC_TIMER;
  3. Procedure ptc_timer_destroy(obj : TPTC_TIMER);
  4. { set time }
  5. Procedure ptc_timer_set(obj : TPTC_TIMER; time : Double);
  6. { control }
  7. Procedure ptc_timer_start(obj : TPTC_TIMER);
  8. Procedure ptc_timer_stop(obj : TPTC_TIMER);
  9. { time data }
  10. Function ptc_timer_time(obj : TPTC_TIMER) : Double;
  11. Function ptc_timer_delta(obj : TPTC_TIMER) : Double;
  12. Function ptc_timer_resolution(obj : TPTC_TIMER) : Double;
  13. { operators }
  14. Procedure ptc_timer_assign(obj, timer : TPTC_TIMER);
  15. Function ptc_timer_equals(obj, timer : TPTC_TIMER) : Boolean;