]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
time: Introduce get_monotonic_boottime and ktime_get_boottime
authorJohn Stultz <john.stultz@linaro.org>
Tue, 15 Feb 2011 01:52:09 +0000 (17:52 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Mon, 21 Feb 2011 20:53:05 +0000 (12:53 -0800)
commitabb3a4ea2e0ea7114a4475745da2f32bd9ad5b73
treeba78d928a1b58faf16c2507777b8430d54666f52
parente06383db9ec591696a06654257474b85bac1f8cb
time: Introduce get_monotonic_boottime and ktime_get_boottime

This adds new functions that return the monotonic time since boot
(in other words, CLOCK_MONOTONIC + suspend time).

CC: Jamie Lokier <jamie@shareable.org>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Alexander Shishkin <virtuoso@slind.org>
CC: Arve Hjønnevåg <arve@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
include/linux/hrtimer.h
include/linux/time.h
kernel/time/timekeeping.c