diff options
author | Darren Hsu <darrenhsu@google.com> | 2022-03-21 15:19:17 +0800 |
---|---|---|
committer | Darren Hsu <darrenhsu@google.com> | 2022-03-21 15:23:24 +0800 |
commit | 3413a13921b942a9300f13d065dfa87bf1f1fec7 (patch) | |
tree | bf535ec22dd5770ca3f6adc03bfcecf296f9dce8 /powerstats | |
parent | 2964ee60205059bf0e2f6caa1a8edc688a316bd3 (diff) | |
download | gs201-3413a13921b942a9300f13d065dfa87bf1f1fec7.tar.gz |
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>
Diffstat (limited to 'powerstats')
-rw-r--r-- | powerstats/Gs201CommonDataProviders.cpp | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/powerstats/Gs201CommonDataProviders.cpp b/powerstats/Gs201CommonDataProviders.cpp index 76600e6..77cedf1 100644 --- a/powerstats/Gs201CommonDataProviders.cpp +++ b/powerstats/Gs201CommonDataProviders.cpp @@ -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}}; |