diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-05-30 22:08:21 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-06-06 19:59:07 +0200 |
commit | fe624c4c07026fe11f37b7517e81b3814fa868bc (patch) | |
tree | 57ba86d0184d38607c644c32a7ac189d67c14ae3 /src/resolve/resolved-etc-hosts.h | |
parent | b2bb19bbda8f5ab3ab497165bc52a0ef952348c4 (diff) |
time-util: add triple timestamp object
We already have a double timestamp object that we use whenever we need both a
MONOTONIC and a REALTIME timestamp taken and stored. With this change we
also add a triple timestamp object that in addition stores a BOOTTIME
timestamp, which is useful for a few usecases.
Note that we keep dual_timestamp around, as it is useful in many cases where
triple_timestamp is not, in particular because retrieving the monotonic and
realtime timestamps is much cheaper on Linux that getting the boottime
timestamp.
Diffstat (limited to 'src/resolve/resolved-etc-hosts.h')
0 files changed, 0 insertions, 0 deletions