powerstats: Add config support for AdaptiveDvfs data provider
Bug: 273415531 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: I48bd1ec622680a3c93d15b571fbf21579f0e21ed Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
parent
75a5c5dceb
commit
529b618a7c
3 changed files with 29 additions and 22 deletions
|
@ -28,14 +28,12 @@ class AdaptiveDvfsStateResidencyDataProvider : public DvfsStateResidencyDataProv
|
|||
/*
|
||||
* path - path to dvfs sysfs node.
|
||||
* clockRate - clock rate in KHz.
|
||||
* powerEntityName - power entity name to parse.
|
||||
* freqPath - path to frequency table.
|
||||
* powerEntities - list of power entity pairs (name to power entity, path to frequency table)
|
||||
*/
|
||||
AdaptiveDvfsStateResidencyDataProvider(
|
||||
std::string path,
|
||||
uint64_t clockRate,
|
||||
std::string powerEntityName,
|
||||
std::string freqPath);
|
||||
std::vector<std::pair<std::string, std::string>> powerEntities);
|
||||
~AdaptiveDvfsStateResidencyDataProvider() = default;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue