mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
timekeeping: Provide ktime_get_raw()
Provide a ktime_t based interface for raw monotonic time. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
This commit is contained in:
committed by
John Stultz
parent
2044fdb03e
commit
f519b1a2e0
@@ -54,6 +54,9 @@ struct timekeeper {
|
||||
/* The current UTC to TAI offset in seconds */
|
||||
s32 tai_offset;
|
||||
|
||||
/* Monotonic raw base time */
|
||||
ktime_t base_raw;
|
||||
|
||||
/* The raw monotonic time for the CLOCK_MONOTONIC_RAW posix clock. */
|
||||
struct timespec64 raw_time;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user