summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaulsu <paulsu@google.com>2023-06-08 11:15:52 +0000
committerpaulsu <paulsu@google.com>2023-06-08 11:15:52 +0000
commit16d86f57d697cd807bffc1e16c56b02602a546a9 (patch)
tree04c06df43c9e27531e996d2592e3e468363bfe8c
parentd0b362b7c1af18501f7c2564924fc7404c530aa9 (diff)
downloadtangorpro-16d86f57d697cd807bffc1e16c56b02602a546a9.tar.gz
Create group throttle powerhint
Test: Local test Bug: 280258727 Change-Id: Id481cc4434e5769cf227924eab8530a2e63841b9 Signed-off-by: paulsu <paulsu@google.com>
-rw-r--r--powerhint.json50
1 files changed, 50 insertions, 0 deletions
diff --git a/powerhint.json b/powerhint.json
index 1bc9f9f..e9b1906 100644
--- a/powerhint.json
+++ b/powerhint.json
@@ -594,6 +594,26 @@
"0,1,2,3,4,5,6,7"
],
"Type": "Property"
+ },
+ {
+ "Name": "Dex2oatGroup",
+ "Path": "/proc/vendor_sched/dex2oat_ug",
+ "Values": [
+ "1",
+ "0"
+ ],
+ "DefaultIndex": 0,
+ "ResetOnInit": true
+ },
+ {
+ "Name": "UgBgGroupThrottle",
+ "Path": "/proc/vendor_sched/ug_bg_group_throttle",
+ "Values": [
+ "512",
+ "308"
+ ],
+ "DefaultIndex": 0,
+ "ResetOnInit": true
}
],
"Actions": [
@@ -1593,6 +1613,12 @@
"Value": "0,1,2,3,4,5"
},
{
+ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
+ "Node": "Dex2oatGroup",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "PMU_POLL",
"Duration": 0,
@@ -1671,6 +1697,12 @@
"Value": "0,1,2,3"
},
{
+ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
+ "Node": "Dex2oatGroup",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
"Node": "PMU_POLL",
"Duration": 0,
@@ -1749,6 +1781,12 @@
"Value": "0,1,2,3"
},
{
+ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
+ "Node": "Dex2oatGroup",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "PMU_POLL",
"Duration": 0,
@@ -1827,6 +1865,12 @@
"Value": "0,1,2,3"
},
{
+ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
+ "Node": "Dex2oatGroup",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "PMU_POLL",
"Duration": 0,
@@ -1923,6 +1967,12 @@
"Value": "0,1,2,3"
},
{
+ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
+ "Node": "Dex2oatGroup",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
"PowerHint": "FP_BOOST",
"Node": "CPUBigClusterMaxFreq",
"Duration": 1000,