Files
kernel-tenderloin-3.0/include/linux
John Stultz 70a08cca12 timers: Add CLOCK_BOOTTIME hrtimer base
CLOCK_MONOTONIC stops while the system is in suspend. This is because
to applications system suspend is invisible. However, there is a
growing set of applications that are wanting to be suspend-aware,
but do not want to deal with the complications of CLOCK_REALTIME
(which might jump around if settimeofday is called).

For these applications, I propose a new clockid: CLOCK_BOOTTIME.
CLOCK_BOOTTIME is idential to CLOCK_MONOTONIC, except it also
includes any time spent in suspend.

This patch add hrtimer base for CLOCK_BOOTTIME, using
get_monotonic_boottime/ktime_get_boottime, to allow
in kernel users to set timers against.

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>
2011-02-21 12:53:08 -08:00
..
2011-01-20 18:30:17 -08:00
2011-01-20 18:30:17 -08:00
2010-11-23 20:14:46 +00:00
2011-01-10 08:51:44 -08:00
2011-01-15 20:07:45 -05:00
2011-01-13 08:03:12 -08:00
2010-12-13 16:11:13 -08:00
2010-11-29 08:35:12 +11:00
2010-12-16 17:53:38 +01:00
2011-01-10 08:51:44 -08:00
2011-01-12 20:16:43 -05:00
2011-01-17 03:26:26 -05:00
2010-12-08 10:30:34 -08:00
2011-01-10 08:51:44 -08:00
2011-01-07 17:50:27 +11:00
2011-01-07 17:50:23 +11:00
2010-12-07 20:16:56 +01:00
2011-01-24 14:45:11 +10:30
2011-01-10 22:11:23 +01:00
2010-11-24 11:16:42 -08:00
2011-01-21 11:55:31 +01:00
2010-12-09 20:17:07 -08:00
2011-01-13 17:32:31 -08:00
2011-01-24 14:45:11 +10:30
2011-01-13 17:32:47 -08:00
2011-01-24 14:45:11 +10:30
2010-12-22 10:27:53 +01:00
2011-01-14 13:12:45 +00:00
2010-12-06 11:03:46 -08:00
2011-01-13 17:32:41 -08:00
2011-01-13 17:32:46 -08:00
2011-01-13 17:32:43 -08:00
2011-01-16 13:47:07 -05:00
2011-01-13 21:44:34 -08:00
2011-01-10 15:40:52 -05:00
2011-01-13 17:32:43 -08:00
2011-01-16 13:47:07 -05:00
2010-12-16 11:36:43 +01:00
2010-12-24 15:04:41 +01:00
2010-12-10 15:06:43 +01:00
2011-01-13 08:03:21 -08:00
2011-01-14 02:36:43 +00:00
2011-01-13 08:03:18 -08:00
2011-01-13 17:32:42 -08:00
2011-01-07 17:50:27 +11:00
2011-01-13 08:03:19 -08:00
2011-01-13 17:32:42 -08:00
2011-01-12 05:14:15 -05:00
2011-02-21 12:53:08 -08:00
2011-02-02 15:28:18 +01:00
2010-11-29 08:55:25 +11:00
2010-11-29 08:55:22 +11:00
2011-01-07 20:57:22 -05:00
2010-12-20 09:37:33 +01:00
2010-12-16 10:05:06 -08:00
2011-01-24 14:45:11 +10:30
2011-01-13 08:03:24 -08:00