powerstats: add devfreq state residency for BO am: 916a8281fb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17215601 Change-Id: Ic527e4113394bfe343ba24f607b1d8224ebae3a9
This commit is contained in:
commit
cda0d9f6d2
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>(
|
p->addStateResidencyDataProvider(std::make_unique<DevfreqStateResidencyDataProvider>(
|
||||||
"MFC",
|
"MFC",
|
||||||
"/sys/devices/platform/17000070.devfreq_mfc/devfreq/17000070.devfreq_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) {
|
void addTPU(std::shared_ptr<PowerStats> p) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue