power: Add option to log time spent in suspend
authorColin Cross <ccross@android.com>
Tue, 19 Jul 2011 19:33:45 +0000 (12:33 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 23 Jul 2012 08:39:01 +0000 (13:39 +0530)
commit67d690f87bfc4f609ee9df7d562ba4cb86d63aa0
treea85f1448a187f1b31dbcdffdaaab1b639020876e
parent213c64509ece1aecd282f9cf1ecb9b38ef352191
power: Add option to log time spent in suspend

Prints the time spent in suspend in the kernel log, and
keeps statistics on the time spent in suspend in
/sys/kernel/debug/suspend_time

Change-Id: Ia6b9ebe4baa0f7f5cd211c6a4f7e813aefd3fa1d
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
kernel/power/Kconfig
kernel/power/Makefile
kernel/power/suspend_time.c [new file with mode: 0644]