timekeeping: Provide ktime_get[*]_ns() helpers
A lot of code converts either timespecs or ktime_t to nanoseconds. Provide helper functions. Signed-off-by: NThomas Gleixner <tglx@linutronix.de> Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
Showing
想要评论请 注册 或 登录