diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-09-21 04:14:38 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-09-21 04:14:38 +0200 |
commit | b0c918b97f1abb160d8df2b94deb03efcb4fcf8f (patch) | |
tree | 5332ec267b9722d39c12e7324cf80d8e61bcef15 /src/util.h | |
parent | manager: count how many jobs we executed (diff) | |
download | systemd-b0c918b97f1abb160d8df2b94deb03efcb4fcf8f.tar.xz systemd-b0c918b97f1abb160d8df2b94deb03efcb4fcf8f.zip |
manager: measure startup times
Diffstat (limited to '')
-rw-r--r-- | src/util.h | 2 |
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); |