From de2adf4656f177a08555a0930638d024047572ed Mon Sep 17 00:00:00 2001 From: Murali Nalajala Date: Sun, 8 Nov 2020 19:43:56 -0800 Subject: [PATCH] Kconfig: print epoch values in system suspend and resume cycles Print epoch values when the device is enter and exit out of suspend and resume. These epoch values are useful to know how long the device is in suspend state. These values can be used to synchronize various subsystem timestamps and have an unique timestamp to correlate between various subsystems. Change-Id: Ibe04b914649db1f2ee0ae748f3950ca646323ef1 Signed-off-by: Murali Nalajala --- kernel/time/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig index fcc42353f125..a6c391cd97c8 100644 --- a/kernel/time/Kconfig +++ b/kernel/time/Kconfig @@ -52,6 +52,16 @@ config GENERIC_CLOCKEVENTS_MIN_ADJUST config GENERIC_CMOS_UPDATE bool +config PRINT_SUSPEND_EPOCH_QGKI + bool "Print epoch values in suspend resume cycles" + depends on QGKI + help + Print epoch values when device enter and exit out of suspend + and resume. These epoch values are useful to know how long + the device is in suspend state. These values can be used to + synchronize various subsystem timestamps and have an unique + timestamp to correlate between various subsystems. + if GENERIC_CLOCKEVENTS menu "Timers subsystem"