powerstats: include Aurora state residency stats
Bug: 229410570 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: I02a3d647575292ccbe64c41fede06261648cd1e2 Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
parent
b0718b6702
commit
9411790fc5
1 changed files with 8 additions and 0 deletions
|
@ -236,6 +236,14 @@ void addDvfsStats(std::shared_ptr<PowerStats> p) {
|
||||||
std::make_pair("0MHz", "0"),
|
std::make_pair("0MHz", "0"),
|
||||||
}});
|
}});
|
||||||
|
|
||||||
|
cfgs.push_back({"AUR", {
|
||||||
|
std::make_pair("1160MHz", "1160000"),
|
||||||
|
std::make_pair("750MHz", "750000"),
|
||||||
|
std::make_pair("373MHz", "373000"),
|
||||||
|
std::make_pair("178MHz", "178000"),
|
||||||
|
std::make_pair("0MHz", "0"),
|
||||||
|
}});
|
||||||
|
|
||||||
p->addStateResidencyDataProvider(std::make_unique<DvfsStateResidencyDataProvider>(
|
p->addStateResidencyDataProvider(std::make_unique<DvfsStateResidencyDataProvider>(
|
||||||
"/sys/devices/platform/acpm_stats/fvp_stats", NS_TO_MS, cfgs));
|
"/sys/devices/platform/acpm_stats/fvp_stats", NS_TO_MS, cfgs));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue