PM / Domains: Add time accounting to various genpd states
authorThara Gopinath <[email protected]>
Fri, 14 Jul 2017 17:10:15 +0000 (13:10 -0400)
committerRafael J. Wysocki <[email protected]>
Mon, 24 Jul 2017 21:02:02 +0000 (23:02 +0200)
commitafece3ab9a3640f9c1e064f56c8cdd4d783f6144
treef28da8ffb3bb4406f2b0407adb698e6cb0c77588
parent520eccdfe187591a51ea9ab4c1a024ae4d0f68d9
PM / Domains: Add time accounting to various genpd states

This patch adds support to calculate the time spent by the generic
power domains in on and various idle states.

Signed-off-by: Thara Gopinath <[email protected]>
Acked-by: Ulf Hansson <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
drivers/base/power/domain.c
include/linux/pm_domain.h