powerstats: update core stats state residency
Bug: 244519855 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: Id83074079bade4f6a3aace25b513ccc99a255fb1 Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
parent
cf9769e614
commit
226ee13075
1 changed files with 13 additions and 2 deletions
|
@ -349,8 +349,19 @@ void addCPUclusters(std::shared_ptr<PowerStats> p) {
|
|||
};
|
||||
|
||||
std::vector<GenericStateResidencyDataProvider::PowerEntityConfig> cfgs;
|
||||
for (std::string name : {"CORE00", "CORE01", "CORE02", "CORE03", "CORE10", "CORE11",
|
||||
"CORE20", "CORE21", "CLUSTER0", "CLUSTER1", "CLUSTER2"}) {
|
||||
for (std::string name : {
|
||||
"CORE00",
|
||||
"CORE01",
|
||||
"CORE02",
|
||||
"CORE03",
|
||||
"CORE10",
|
||||
"CORE11",
|
||||
"CORE12",
|
||||
"CORE13",
|
||||
"CORE21",
|
||||
"CLUSTER0",
|
||||
"CLUSTER1",
|
||||
"CLUSTER2"}) {
|
||||
cfgs.emplace_back(generateGenericStateResidencyConfigs(cpuStateConfig, cpuStateHeaders),
|
||||
name, name);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue