summaryrefslogtreecommitdiff
path: root/src/journal/journald-server.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-10-12 18:46:07 +0200
committerLennart Poettering <lennart@poettering.net>2016-10-12 20:25:20 +0200
commit0f972d66d439789afacbbcfba9a786965dd9e4b3 (patch)
treec735ed979e27e2c07e7def901c60355fc2811418 /src/journal/journald-server.h
parent989793d341e730f452175fa18cf0f7ef4529d62c (diff)
journald: use the event loop dispatch timestamp for journal entries
Let's use the earliest linearized event timestamp for journal entries we have: the event dispatch timestamp from the event loop, instead of requerying the timestamp at the time of writing. This makes the time a bit more accurate, allows us to query the kernel time one time less per event loop, and also makes sure we always use the same timestamp for both attempts to write an entry to a journal file.
Diffstat (limited to 'src/journal/journald-server.h')
0 files changed, 0 insertions, 0 deletions