PM / devfreq: add to show current load of device
authorJianqun Xu <jay.xu@rock-chips.com>
Wed, 17 Aug 2016 08:43:57 +0000 (16:43 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 29 Aug 2016 06:58:21 +0000 (14:58 +0800)
commit0f75dc420951837e983a98a591055f58d4ff1f2a
tree50fcd7482c13060751fee7c20e62b42b27c9425e
parent72f7047efc58ff4318373852890bb35e8d80ba8e
PM / devfreq: add to show current load of device

Calculate current load with busytime / totaltime from status,
also show the current frequency.

Change-Id: Ic310035db9c5478aa3d0b1e526b47c451fe09d23
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
drivers/devfreq/devfreq.c