timer: make timer accuracy configurable

And make it default to 1min
This commit is contained in:
Lennart Poettering
2013-11-21 22:08:20 +01:00
parent b850b06e1e
commit 9f5eb56a13
7 changed files with 71 additions and 10 deletions
+2
View File
@@ -69,6 +69,8 @@ typedef enum TimerResult {
struct Timer {
Unit meta;
usec_t accuracy_usec;
LIST_HEAD(TimerValue, values);
usec_t next_elapse_monotonic;
usec_t next_elapse_realtime;