aboutsummaryrefslogtreecommitdiff
path: root/src/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/timer.h')
-rw-r--r--src/timer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timer.h b/src/timer.h
index aacd218..89cc2f3 100644
--- a/src/timer.h
+++ b/src/timer.h
@@ -25,6 +25,8 @@ int delay(int64_t ns);
double timeval_to_double(struct timeval *tv);
+int timeval_equals(struct timeval *tv0, struct timeval *tv1);
+
double timeval_diff(struct timeval *tv0, struct timeval *tv1);
int update_timer(struct timer *tp, time_t sec, suseconds_t usec);