powerstats: add GPU-DVFS am: 60a41f6830

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15272000

Change-Id: Ic8d7801ea8c1f722850927dd1aee1ce7a94c43a2
This commit is contained in:
samou 2021-07-19 19:26:03 +00:00 committed by Automerger Merge Worker
commit addd9c40ad

View file

@ -400,6 +400,9 @@ void addGPU(std::shared_ptr<PowerStats> p) {
EnergyConsumerType::OTHER, "GPU", {"S2S_VDD_G3D"},
{{UID_TIME_IN_STATE, "/sys/devices/platform/1c500000.mali/uid_time_in_state"}},
stateCoeffs));
p->addStateResidencyDataProvider(std::make_unique<DevfreqStateResidencyDataProvider>("GPU",
"/sys/bus/platform/devices/1c500000.mali"));
}
void addMobileRadio(std::shared_ptr<PowerStats> p)