powerstats: update power domain state residency
Bug: 244541973 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: I6b4a6f8d1f3bc56dcbabe661a18f4f866a5af904 Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
parent
c4a7543d1f
commit
c6d6807f9d
1 changed files with 18 additions and 4 deletions
|
@ -568,10 +568,24 @@ void addPowerDomains(std::shared_ptr<PowerStats> p) {
|
||||||
};
|
};
|
||||||
|
|
||||||
std::vector<GenericStateResidencyDataProvider::PowerEntityConfig> cfgs;
|
std::vector<GenericStateResidencyDataProvider::PowerEntityConfig> cfgs;
|
||||||
for (std::string name : {"pd-aur", "pd-tpu", "pd-bo", "pd-tnr", "pd-gdc", "pd-mcsc", "pd-itp",
|
for (std::string name : {
|
||||||
"pd-ipp", "pd-g3aa", "pd-dns", "pd-pdp", "pd-csis",
|
"pd-tpu",
|
||||||
"pd-mfc", "pd-g2d", "pd-disp", "pd-dpu", "pd-hsi0",
|
"pd-ispfe",
|
||||||
"pd-g3d", "pd-embedded_g3d", "pd-eh"}) {
|
"pd-eh",
|
||||||
|
"pd-aur",
|
||||||
|
"pd-yuvp",
|
||||||
|
"pd-tnr",
|
||||||
|
"pd-rgbp",
|
||||||
|
"pd-mfc",
|
||||||
|
"pd-mcsc",
|
||||||
|
"pd-gse",
|
||||||
|
"pd-gdc",
|
||||||
|
"pd-g2d",
|
||||||
|
"pd-dpuf1",
|
||||||
|
"pd-dpuf0",
|
||||||
|
"pd-dpub",
|
||||||
|
"pd-embedded_g3d",
|
||||||
|
"pd-g3d"}) {
|
||||||
cfgs.emplace_back(generateGenericStateResidencyConfigs(cpuStateConfig, cpuStateHeaders),
|
cfgs.emplace_back(generateGenericStateResidencyConfigs(cpuStateConfig, cpuStateHeaders),
|
||||||
name, name + ":");
|
name, name + ":");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue