improve timerfd implementation to be more accurate

This commit is contained in:
Anthony Minessale
2014-11-13 20:51:53 -06:00
parent 878a04715a
commit df423b88d6
2 changed files with 74 additions and 27 deletions
+2 -1
View File
@@ -215,7 +215,8 @@ struct switch_timer {
void *private_info;
/*! remaining time from last call to _check() */
switch_size_t diff;
switch_size_t tick;
switch_time_t start;
uint64_t tick;
};
typedef enum {