[PATCH 1/8] time: Add cycles to nanoseconds translation

2016-03-02 Thread John Stultz
From: "Christopher S. Hall" The timekeeping code does not currently provide a way to translate externally provided clocksource cycles to system time. The cycle count is always provided by the result clocksource read() method internal to the timekeeping code. The added function timekeeping_cycles_

[PATCH 1/8] time: Add cycles to nanoseconds translation

2016-03-03 Thread John Stultz
From: "Christopher S. Hall" The timekeeping code does not currently provide a way to translate externally provided clocksource cycles to system time. The cycle count is always provided by the result clocksource read() method internal to the timekeeping code. The added function timekeeping_cycles_