powerstats: add AUR DVFS state residency stats
Bug: 244519060 Bug: 256016398 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: I9c1e7af0028f28d34e6f2194304f0433f97bb513 Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
parent
d4f0512aaf
commit
e15f63968a
1 changed files with 10 additions and 0 deletions
|
@ -249,6 +249,16 @@ void addDvfsStats(std::shared_ptr<PowerStats> p) {
|
|||
std::make_pair("226MHz", "226000"),
|
||||
}});
|
||||
|
||||
cfgs.push_back({"AUR", {
|
||||
std::make_pair("1065MHz", "1065000"),
|
||||
std::make_pair("861MHz", "861000"),
|
||||
std::make_pair("713MHz", "713000"),
|
||||
std::make_pair("525MHz", "525000"),
|
||||
std::make_pair("355MHz", "355000"),
|
||||
std::make_pair("256MHz", "256000"),
|
||||
std::make_pair("178MHz", "178000"),
|
||||
}});
|
||||
|
||||
p->addStateResidencyDataProvider(std::make_unique<DvfsStateResidencyDataProvider>(
|
||||
"/sys/devices/platform/acpm_stats/fvp_stats", NS_TO_MS, cfgs));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue