summaryrefslogtreecommitdiff
path: root/src/core/timer.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-21 22:07:51 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-21 22:08:20 +0100
commit9f5eb56a13dee1085cbf2560ac3afd73f72402cb (patch)
tree08e40381924333049f704cacac2a0a248bfe723a /src/core/timer.h
parentb850b06e1efcc7e27cfd785759a3a913ac9ed196 (diff)
timer: make timer accuracy configurable
And make it default to 1min
Diffstat (limited to 'src/core/timer.h')
-rw-r--r--src/core/timer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/timer.h b/src/core/timer.h
index b3722f0028..3e7efa4c83 100644
--- a/src/core/timer.h
+++ b/src/core/timer.h
@@ -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;