device_google_gs-common/powerstats
Darren Hsu 391f601be6 powerstats: Introduce AoC timed data provider
Reading data from an AoC sysfs node by getline takes 1 second. In total
there are 17 AoC sysfs nodes that must be read. The worst case is taking
17 seconds long that is greater than dumpsys timeout. Therefore, we need
the timeout mechanism to ignore the AoC power stats reporting when AoC
latency exceeds the allowed time.

Bug: 219630658
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ic5c2a0b36728153fd2e2593599a8f2bcdb50ace4
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-05-03 03:30:42 +00:00
..
include powerstats: Introduce AoC timed data provider 2022-05-03 03:30:42 +00:00
Android.bp powerstats: add common data providers in gs common 2022-01-03 20:09:27 +08:00
AocStateResidencyDataProvider.cpp Revert "powerstats: timeout mechanism for AoC data provider" 2022-04-24 23:22:49 +00:00
AocTimedStateResidencyDataProvider.cpp powerstats: Introduce AoC timed data provider 2022-05-03 03:30:42 +00:00
DevfreqStateResidencyDataProvider.cpp powerstats: add common data providers in gs common 2022-01-03 20:09:27 +08:00
DvfsStateResidencyDataProvider.cpp powerstats: add common data providers in gs common 2022-01-03 20:09:27 +08:00
UfsStateResidencyDataProvider.cpp powerstats: add common data providers in gs common 2022-01-03 20:09:27 +08:00