diff options
author | Colin Cross <ccross@android.com> | 2011-07-19 12:33:45 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2012-04-09 13:53:09 -0700 |
commit | 847bb6f2bc6e7c6d9c8e8a450b586a8ca3f1dba5 (patch) | |
tree | dea1ba279abc3a37d639f1d595e5f3c011757e1c /kernel/power/Kconfig | |
parent | b7d739c58e38e3430b216c789e2a61effc5d10e9 (diff) |
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>
Diffstat (limited to 'kernel/power/Kconfig')
-rw-r--r-- | kernel/power/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index deb5461e321..1878b6ef2a2 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -243,3 +243,10 @@ config PM_GENERIC_DOMAINS_RUNTIME config CPU_PM bool depends on SUSPEND || CPU_IDLE + +config SUSPEND_TIME + bool "Log time spent in suspend" + ---help--- + 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 |