aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/time.h')
-rw-r--r--include/linux/time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/time.h b/include/linux/time.h
index e15206a7e82e..205f974b9ebf 100644
--- a/include/linux/time.h
+++ b/include/linux/time.h
@@ -117,6 +117,7 @@ extern int do_setitimer(int which, struct itimerval *value,
117extern unsigned int alarm_setitimer(unsigned int seconds); 117extern unsigned int alarm_setitimer(unsigned int seconds);
118extern int do_getitimer(int which, struct itimerval *value); 118extern int do_getitimer(int which, struct itimerval *value);
119extern void getnstimeofday(struct timespec *tv); 119extern void getnstimeofday(struct timespec *tv);
120extern void getrawmonotonic(struct timespec *ts);
120extern void getboottime(struct timespec *ts); 121extern void getboottime(struct timespec *ts);
121extern void monotonic_to_bootbased(struct timespec *ts); 122extern void monotonic_to_bootbased(struct timespec *ts);
122 123
@@ -214,6 +215,7 @@ struct itimerval {
214#define CLOCK_MONOTONIC 1 215#define CLOCK_MONOTONIC 1
215#define CLOCK_PROCESS_CPUTIME_ID 2 216#define CLOCK_PROCESS_CPUTIME_ID 2
216#define CLOCK_THREAD_CPUTIME_ID 3 217#define CLOCK_THREAD_CPUTIME_ID 3
218#define CLOCK_MONOTONIC_RAW 4
217 219
218/* 220/*
219 * The IDs of various hardware clocks: 221 * The IDs of various hardware clocks: