summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-21 04:14:38 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-21 04:14:38 +0200
commitb0c918b97f1abb160d8df2b94deb03efcb4fcf8f (patch)
tree5332ec267b9722d39c12e7324cf80d8e61bcef15 /src/util.h
parente409f87570a87009d023e1ba97263445241b84d3 (diff)
manager: measure startup times
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 7ea163f214..ae00ff50c4 100644
--- a/src/util.h
+++ b/src/util.h
@@ -73,6 +73,8 @@ usec_t now(clockid_t clock);
dual_timestamp* dual_timestamp_get(dual_timestamp *ts);
+#define dual_timestamp_is_set(ts) ((ts)->realtime > 0)
+
usec_t timespec_load(const struct timespec *ts);
struct timespec *timespec_store(struct timespec *ts, usec_t u);