summaryrefslogtreecommitdiff
path: root/src/basic/time-util.h
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@gmail.com>2015-11-03 21:58:42 +0530
committerSusant Sahani <ssahani@gmail.com>2015-11-03 21:58:42 +0530
commit87b8ce69f6684f698b699ce662c72de78ed43343 (patch)
tree35da6dd41e1124b2dc1535f4e0e6bf8ae7bd5353 /src/basic/time-util.h
parent4084052911be74c992f74b0a693115128f2a24a7 (diff)
Time-util: introduce usec to jiffies
Diffstat (limited to 'src/basic/time-util.h')
-rw-r--r--src/basic/time-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/time-util.h b/src/basic/time-util.h
index 417376ea96..925bf18eb2 100644
--- a/src/basic/time-util.h
+++ b/src/basic/time-util.h
@@ -121,3 +121,5 @@ int get_timezone(char **timezone);
time_t mktime_or_timegm(struct tm *tm, bool utc);
struct tm *localtime_or_gmtime_r(const time_t *t, struct tm *tm, bool utc);
+
+unsigned long usec_to_jiffies(usec_t usec);