powerstats: add GPU-DVFS am: 60a41f6830 am: 9e85ca8f2c am: 6c041f64a3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15272000 Change-Id: I48faf3170c2da9d4742c9636ed2668efd23aa94e
This commit is contained in:
commit
18ec4f4248
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue