powerstats: add new parameter to provide aoc clock
AoC power stats are reported in ticks that are different frequency in different SoC. Bug: 233923713 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: I047d7ae163941c2168dcd8a0ea34da73ab4a8477 Merged-In: I047d7ae163941c2168dcd8a0ea34da73ab4a8477 Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
parent
33552445b8
commit
2756ac31ff
4 changed files with 13 additions and 10 deletions
|
@ -39,7 +39,8 @@ class AocTimedStateResidencyDataProvider : public AocStateResidencyDataProvider
|
|||
AocTimedStateResidencyDataProvider(
|
||||
std::vector<std::pair<std::string, std::string>> ids,
|
||||
std::vector<std::pair<std::string, std::string>> states,
|
||||
const uint64_t timeoutMillis);
|
||||
const uint64_t timeoutMillis,
|
||||
const uint64_t aocClock);
|
||||
~AocTimedStateResidencyDataProvider() = default;
|
||||
|
||||
bool getStateResidencies(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue