PM / Domains: Add time accounting to various genpd states
authorThara Gopinath <thara.gopinath@linaro.org>
Fri, 14 Jul 2017 17:10:15 +0000 (13:10 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
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 <thara.gopinath@linaro.org>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c
include/linux/pm_domain.h