mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 15:48:22 +00:00
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:
@@ -236,6 +236,14 @@ void addDvfsStats(std::shared_ptr<PowerStats> p) {
|
||||
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>(
|
||||
"/sys/devices/platform/acpm_stats/fvp_stats", NS_TO_MS, cfgs));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user