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)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:38:52 +0000 (21:38 -0800)
commitf5c6caac3f40ef6d14ed15f886838336ca5b213c
tree02a7bb8dd40357f96c4fafb090a243e59a11b663
parent26383eba7938495ed477e75c6ba88017fd47c442
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]