powerstats: correct TPU, GPU, several DVFS buckets and frequency unit
Bug: 197152245 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: Ie4f260c643e3d19f8080436b3a0197764196ccfc
This commit is contained in:
parent
df5cec3e17
commit
21623c73d0
2 changed files with 79 additions and 194 deletions
|
@ -97,7 +97,7 @@ std::unordered_map<std::string, std::vector<State>> DevfreqStateResidencyDataPro
|
|||
int32_t id = 0;
|
||||
std::vector<State> states;
|
||||
for (const auto[frequencyHz, totalTimeMs] : timeInState) {
|
||||
State s = {.id = id++, .name = std::to_string(frequencyHz / 1000) + "KHz"};
|
||||
State s = {.id = id++, .name = std::to_string(frequencyHz / 1000) + "MHz"};
|
||||
states.push_back(s);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue