Merge changes I41afe01a,Id8307407
* changes: powerstats: expose common data provider methods powerstats: update core stats state residency
This commit is contained in:
commit
64f1de6865
2 changed files with 29 additions and 4 deletions
|
@ -349,8 +349,19 @@ void addCPUclusters(std::shared_ptr<PowerStats> p) {
|
||||||
};
|
};
|
||||||
|
|
||||||
std::vector<GenericStateResidencyDataProvider::PowerEntityConfig> cfgs;
|
std::vector<GenericStateResidencyDataProvider::PowerEntityConfig> cfgs;
|
||||||
for (std::string name : {"CORE00", "CORE01", "CORE02", "CORE03", "CORE10", "CORE11",
|
for (std::string name : {
|
||||||
"CORE20", "CORE21", "CLUSTER0", "CLUSTER1", "CLUSTER2"}) {
|
"CORE00",
|
||||||
|
"CORE01",
|
||||||
|
"CORE02",
|
||||||
|
"CORE03",
|
||||||
|
"CORE10",
|
||||||
|
"CORE11",
|
||||||
|
"CORE12",
|
||||||
|
"CORE13",
|
||||||
|
"CORE21",
|
||||||
|
"CLUSTER0",
|
||||||
|
"CLUSTER1",
|
||||||
|
"CLUSTER2"}) {
|
||||||
cfgs.emplace_back(generateGenericStateResidencyConfigs(cpuStateConfig, cpuStateHeaders),
|
cfgs.emplace_back(generateGenericStateResidencyConfigs(cpuStateConfig, cpuStateHeaders),
|
||||||
name, name);
|
name, name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,6 +20,20 @@
|
||||||
|
|
||||||
using aidl::android::hardware::power::stats::PowerStats;
|
using aidl::android::hardware::power::stats::PowerStats;
|
||||||
|
|
||||||
void addZumaCommonDataProviders(std::shared_ptr<PowerStats> p);
|
void addAoC(std::shared_ptr<PowerStats> p);
|
||||||
|
void addCPUclusters(std::shared_ptr<PowerStats> p);
|
||||||
|
void addDevfreq(std::shared_ptr<PowerStats> p);
|
||||||
|
void addDvfsStats(std::shared_ptr<PowerStats> p);
|
||||||
|
void addGNSS(std::shared_ptr<PowerStats> p);
|
||||||
|
void addGPU(std::shared_ptr<PowerStats> p);
|
||||||
|
void addMobileRadio(std::shared_ptr<PowerStats> p);
|
||||||
void addNFC(std::shared_ptr<PowerStats> p, const std::string& path);
|
void addNFC(std::shared_ptr<PowerStats> p, const std::string& path);
|
||||||
|
void addPCIe(std::shared_ptr<PowerStats> p);
|
||||||
|
void addPixelStateResidencyDataProvider(std::shared_ptr<PowerStats> p);
|
||||||
|
void addPowerDomains(std::shared_ptr<PowerStats> p);
|
||||||
|
void addSoC(std::shared_ptr<PowerStats> p);
|
||||||
|
void addTPU(std::shared_ptr<PowerStats> p);
|
||||||
|
void addUfs(std::shared_ptr<PowerStats> p);
|
||||||
|
void addWifi(std::shared_ptr<PowerStats> p);
|
||||||
|
void addZumaCommonDataProviders(std::shared_ptr<PowerStats> p);
|
||||||
|
void setEnergyMeter(std::shared_ptr<PowerStats> p);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue