Commit graph

22 commits

Author SHA1 Message Date
Darren Hsu
6df08fb5b1 powerstats: add BW power domain stats
Bug: 243041321
Bug: 244541973
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I403db5021c467e50f55e9e8071f69cb5dbd52d9d
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-11-11 15:07:48 +08:00
Darren Hsu
23119787cf powerstats: add AUR MIF-REQ state residency stats
Bug: 250097197
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I30bfd15a37582c00a09df83445580064a78794e9
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-11-09 15:13:27 +08:00
Darren Hsu
6ec79d62e1 powerstats: update GPU energy consumer stats
Bug: 244695633
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I4cd274a96f4b3857262a7e0a656b3093b8e42eb7
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-11-07 18:19:41 +08:00
Darren Hsu
e15f63968a 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>
2022-11-03 15:32:10 +08:00
Darren Hsu
5a69d9ee33 powerstats: expose common data provider methods
Bug: 256942114
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I41afe01aea5d2e816218540a1a14e2e2519b65f7
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-11-02 10:25:04 +08:00
Darren Hsu
226ee13075 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>
2022-11-02 09:18:20 +08:00
Darren Hsu
cf9769e614 powerstats: update TPU DVFS state residency
Bug: 244518971
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Iac01cd2891fa94aaa1e86a0d924d164bf0c55cdc
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-11-01 20:50:50 +08:00
Darren Hsu
c6d6807f9d powerstats: update power domain state residency
Bug: 244541973
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I6b4a6f8d1f3bc56dcbabe661a18f4f866a5af904
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-11-01 19:32:05 +08:00
Darren Hsu
34d8dea1ae powerstats: use fvp_stats to collect CPU/MIF state residencies
Bug: 244516713
Bug: 244516289
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I4454208cc4ef2a47981f78ba857e331d4f56b39e
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-28 18:18:06 +08:00
Darren Hsu
bf8d4423e9 powerstats: add new Devfreq state residencies
Bug: 244689272
Bug: 244689401
Bug: 244689409
Bug: 244689754
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Id4cd9be4ce032102d53ee34756470c952036d863
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-26 14:26:34 +08:00
Darren Hsu
c2b947484a powerstats: update CLx-DVFS state residency
Bug: 254026553
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Idd69fba97968d49434ab8fe2422593f8af54fc83
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-17 21:48:32 +08:00
TreeHugger Robot
fb27d1a566 Merge "powerstats: update path for energy meter" 2022-10-11 04:14:53 +00:00
Ben Schwartz
2f39df8cb3 powerstats: Fix CPU DVFS frequencies
Bug: 250095402
Change-Id: I64ab645de194e5bc86b3e4a92a8ade6db1d51963
Test: dumpsys android.hardware.power.stats.IPowerStats/default
2022-10-10 22:11:08 +00:00
Darren Hsu
ff90cfc166 powerstats: update path for energy meter
Bug: 250976913
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Id97facc75794809ed1b5fe42e214281145b0dbd0
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-07 11:16:25 +08:00
Darren Hsu
d45112c2e2 powerstats: update GPU sysfs path for state residency
Bug: 244520099
Bug: 243096772
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: If801c99b3eeeb9ca4a396612bd59f7dbebf17cc9
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-09-12 10:59:16 +08:00
Darren Hsu
dde4bdd7f9 powerstats: update sysfs path for AoC, GPU and PCIe
Bug: 244408938
Bug: 242243692
Bug: 244520099
Bug: 244540752
Bug: 244540747
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Id781bc0514eb1b95f7d4d7c2c953cb810f0629c0
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-09-05 19:01:20 +08:00
Jaegeuk Kim
5fe10163cb Update ufs path
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I58fd3772ce87040df334d7d16bc5c0e4e8d0c392
2022-06-24 10:37:56 -07:00
Darren Hsu
bfc6563cca powerstats: set AoC clock for timestamp calculations
Bug: 233923713
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I05639346ef89eb9540518e4d28f336634e293d48
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-06-17 20:55:04 +08:00
Aaron Ding
e7fa12e468 Revert "powerstats: set time limit as timeout for AoC"
This reverts commit e630cfaaa9.

Reason for revert: align with ag/17935513 and ag/17935512

Change-Id: Ie2fff80785a0c7acee75d30cac9bf3b4f31699d2
2022-04-25 06:53:59 +00:00
Darren Hsu
e630cfaaa9 powerstats: set time limit as timeout for AoC
Bug: 219630658
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I725c00745890350f4227fc9408d926abc783ea66
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-04-22 11:16:17 +08:00
Aaron Ding
66befd88e3 Create device Ripcurrent on Zuma platform
s/cloudripper/ripcurrent
s/gs201/zuma
s/pantah/ripcurrent

Bug: 229340586
Change-Id: Ic5dffbbfadbb1eb8479587b95222801426bba35e
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-19 12:55:56 +08:00
Aaron Ding
d88f9a90bd Branch zuma from gs201
Branch zuma from gs201 sha1 9009acf5c217f553b45ea82aa0702607229f0347

cp/pantah/ripcurrent
cp/gs201/zuma

Bug: 229340586
Change-Id: Ia312c20dae892ead9bf06728b4ef5c0c260ad045
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-19 12:45:55 +08:00