aboutsummaryrefslogtreecommitdiffstats
path: root/src/timer.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/timer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/timer.h b/src/timer.h
index 684367bc5..bbd895b31 100644
--- a/src/timer.h
+++ b/src/timer.h
@@ -40,6 +40,12 @@ void timer_reset(Timer *timer);
void timer_add(Timer *timer, int size);
+/**
+ * Returns the number of milliseconds to sleep to get back to sync.
+ */
+unsigned
+timer_delay(const Timer *timer);
+
void timer_sync(Timer *timer);
#endif