powerstats: update TPU-DVFS frequencies
Bug: 225290987 Test: dump power stats and see frequencies updated Change-Id: If516f115e1a3f3c06c04deadcea56b97f5a24ccd Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
parent
2964ee6020
commit
3413a13921
1 changed files with 6 additions and 11 deletions
|
@ -221,15 +221,10 @@ void addDvfsStats(std::shared_ptr<PowerStats> p) {
|
|||
cfgs.push_back({"TPU", {
|
||||
std::make_pair("1066MHz", "1066000"),
|
||||
std::make_pair("845MHz", "845000"),
|
||||
std::make_pair("625MHz", "625000"),
|
||||
std::make_pair("227MHz", "227000"),
|
||||
std::make_pair("RET_SLOW", "6"),
|
||||
std::make_pair("S_OFF", "5"),
|
||||
std::make_pair("S_SLOW", "4"),
|
||||
std::make_pair("DS_FAST", "3"),
|
||||
std::make_pair("DS_SLOW", "2"),
|
||||
std::make_pair("DS_OFF", "1"),
|
||||
std::make_pair("OFF", "0"),
|
||||
std::make_pair("627MHz", "627000"),
|
||||
std::make_pair("401MHz", "401000"),
|
||||
std::make_pair("226MHz", "226000"),
|
||||
std::make_pair("0MHz", "0"),
|
||||
}});
|
||||
|
||||
p->addStateResidencyDataProvider(std::make_unique<DvfsStateResidencyDataProvider>(
|
||||
|
@ -598,8 +593,8 @@ void addTPU(std::shared_ptr<PowerStats> p) {
|
|||
|
||||
stateCoeffs = {
|
||||
// TODO (b/197721618): Measuring the TPU power numbers
|
||||
{"227000", 10},
|
||||
{"625000", 20},
|
||||
{"226000", 10},
|
||||
{"627000", 20},
|
||||
{"845000", 30},
|
||||
{"1066000", 40}};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue