powerstats: Fill in P21 TPU power profile number

Bug: 189249509
Change-Id: I134f3c005ec0eb17e97b829627ba22d552b7bfdb
This commit is contained in:
samou 2021-05-25 21:03:38 +00:00 committed by Sam Ou
parent ca8a4cc11d
commit c1cf9f84b5

View file

@ -605,10 +605,11 @@ void addTPU(std::shared_ptr<PowerStats> p) {
std::map<std::string, int32_t> stateCoeffs;
stateCoeffs = {
{"500000", 10},
{"800000", 20},
{"1066000", 30},
{"1230000", 40}};
{"226000", 49.25},
{"500000", 73.80},
{"800000", 86.99},
{"1066000", 103.93},
{"1230000", 108.10}};
p->addEnergyConsumer(PowerStatsEnergyConsumer::createMeterAndAttrConsumer(p,
EnergyConsumerType::OTHER, "TPU", {"S10M_VDD_TPU"},