powerstats: add devfreq state residency for BO
Bug: 216600952 Test: dump power stats and see the state residencies appear Test: verified that the string buffer is enough Change-Id: Ic2c7c29c9b6408018ba9c98578e5a32d4e082ef1 Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
parent
f943e9a4f3
commit
1d6fa6d79e
1 changed files with 4 additions and 0 deletions
|
@ -587,6 +587,10 @@ void addDevfreq(std::shared_ptr<PowerStats> p) {
|
|||
p->addStateResidencyDataProvider(std::make_unique<DevfreqStateResidencyDataProvider>(
|
||||
"MFC",
|
||||
"/sys/devices/platform/17000070.devfreq_mfc/devfreq/17000070.devfreq_mfc"));
|
||||
|
||||
p->addStateResidencyDataProvider(std::make_unique<DevfreqStateResidencyDataProvider>(
|
||||
"BO",
|
||||
"/sys/devices/platform/17000080.devfreq_bo/devfreq/17000080.devfreq_bo"));
|
||||
}
|
||||
|
||||
void addTPU(std::shared_ptr<PowerStats> p) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue