summaryrefslogtreecommitdiff
path: root/src/core/timer.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-18 13:37:30 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-18 17:07:11 +0100
commit744c7693751830149ae78fdaf95c6c6f99d59f07 (patch)
tree5de31e8948b3d625f22f2c9cc4e6202f9b58f935 /src/core/timer.h
parent45090bf2ff43217116fc2497b4442320dffabf86 (diff)
core: add new RandomSec= setting for time units
This allows configuration of a random time on top of the elapse events, in order to spread time events in a network evenly across a range.
Diffstat (limited to 'src/core/timer.h')
-rw-r--r--src/core/timer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/timer.h b/src/core/timer.h
index 6bc9fbed3d..0599f07818 100644
--- a/src/core/timer.h
+++ b/src/core/timer.h
@@ -58,6 +58,7 @@ struct Timer {
Unit meta;
usec_t accuracy_usec;
+ usec_t random_usec;
LIST_HEAD(TimerValue, values);
usec_t next_elapse_realtime;