skynet_timer.h 297 B

1234567891011121314
  1. #ifndef SKYNET_TIMER_H
  2. #define SKYNET_TIMER_H
  3. #include <stdint.h>
  4. int skynet_timeout(uint32_t handle, int time, int session);
  5. void skynet_updatetime(void);
  6. uint32_t skynet_starttime(void);
  7. uint64_t skynet_thread_time(void); // for profile, in micro second
  8. void skynet_timer_init(void);
  9. #endif