aboutsummaryrefslogtreecommitdiffstats
path: root/src/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/timer.h')
-rw-r--r--src/timer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/timer.h b/src/timer.h
index c8018e260..61eaeb56f 100644
--- a/src/timer.h
+++ b/src/timer.h
@@ -23,6 +23,7 @@
#include "mpd_types.h"
typedef struct _Timer {
+ uint64_t start_time;
uint64_t time;
int started;
int rate;
@@ -40,4 +41,6 @@ void timer_add(Timer *timer, int size);
void timer_sync(Timer *timer);
+int timer_get_runtime_ms(Timer *timer);
+
#endif