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: I3dacc12f307c8d2ddbe92380e751c4e285dd9b8d Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
parent
aeeeb8bf63
commit
916a8281fb
1 changed files with 4 additions and 0 deletions
|
@ -611,6 +611,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