Re: [PATCH v8 2/8] time: Add timekeeping snapshot code capturing system time and counter

2016-02-24 Thread Thomas Gleixner
On Mon, 22 Feb 2016, Christopher S. Hall wrote: > In the current timekeeping code there isn't any interface to > atomically capture the current relationship between the system counter > and system time. ktime_get_snapshot() returns this triple (counter, > monotonic raw, realtime) in the system_tim

[PATCH v8 2/8] time: Add timekeeping snapshot code capturing system time and counter

2016-02-22 Thread Christopher S. Hall
In the current timekeeping code there isn't any interface to atomically capture the current relationship between the system counter and system time. ktime_get_snapshot() returns this triple (counter, monotonic raw, realtime) in the system_time_snapshot struct. Signed-off-by: Christopher S. Hall [