MIF-DVFS stats read from ACPM will not be accumulated in some
reasons. Reading MIF-DVFS stats from devfreq data provider is
a more accurate way to monitor the MIF status.
Bug: 232040455
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Icf84d9682685b730d4771aad0b2b21bc8d6c4868
Signed-off-by: Darren Hsu <darrenhsu@google.com>
Revert "powerstats: timeout mechanism for AoC data provider"
Revert submission 17800080-power-stats-aoc-timeout
Reason for revert: Causing crashes due to improper thread sync
Reverted Changes:
I71a9e6817:powerstats: timeout mechanism for AoC data provide...
I725c00745:powerstats: set time limit as timeout for AoC
I5b290a53d:powerstats: set time limit as timeout for AoC
Change-Id: I84f5173aada0539d8c91d18d36a841bc9f3e3c9a
Revert "powerstats: timeout mechanism for AoC data provider"
Revert submission 17442015-powerstats-aoc-timeout
Reason for revert: Causes PowerStatsHAL crashes (b/227578192)
Reverted Changes:
I9a9eb27fa:powerstats: set time limit as timeout for AoC
Ib70000580:powerstats: timeout mechanism for AoC data provide...
Ied599054c:Revert "powerstats: disable AoC power stats report...
Iaf5af43eb:powerstats: set time limit as timeout for AoC
Change-Id: I6625c444a5f77ac5cfd2b152aa434461cfca7f7a
This reverts commit 8c4f8807fd.
Bug: 220032540
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Reason for revert: the timeout mechanism is ready
Change-Id: Ied599054c4b3eda125c71b927dbab0e6bdb99ef9
Signed-off-by: Darren Hsu <darrenhsu@google.com>
Bug: 225290987
Test: dump power stats and see frequencies updated
Change-Id: If516f115e1a3f3c06c04deadcea56b97f5a24ccd
Signed-off-by: Darren Hsu <darrenhsu@google.com>
Bug: 216600952
Test: dump power stats and see the state residencies appear
Test: verified that the string buffer is enough
Change-Id: Ic2c7c29c9b6408018ba9c98578e5a32d4e082ef1
Signed-off-by: Darren Hsu <darrenhsu@google.com>
This is a workaround for the AoC long latency issue. Re-enable
AoC power stats reporting when the latency issue is fixed or
the timeout mechanism is merged.
Bug: 210045267
Test: Dump power stats while video streaming and see no timeout
Test: from dumpsys
Change-Id: I83545d45bb1bbb5bb18ca4bff4bd261f332a4570
Signed-off-by: Darren Hsu <darrenhsu@google.com>
Bug: 218772968
Bug: 216600952
Test: dump power stats and see the state residencies appear
Test: verified that the string buffer is enough
Change-Id: Ib4b2986adf6cdd0ab74daa086ef843caa250ac84
Signed-off-by: Darren Hsu <darrenhsu@google.com>
The common data providers will be moved to gs common directory. So
I removed them in this directory and used gs common library to get
the APIs.
Bug: 206576142
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I81e7a957490fb563fdf25a6434aaf5e886456c5d
Signed-off-by: Darren Hsu <darrenhsu@google.com>
Enables the EdgeTPU firmware logger on Android T, for both WCH and PRO.
Also makes the tpu_usage paths up-to-date with the new path: edgetpu-soc
Bug: 196105736
Test: Manually triggered firmware logs to confirm.
Change-Id: I6d3c7fd31046296fb2e87613a97c85a151220217