caimito: Add heuristic boost configs in power hint json files.
Bug: 204204746 Test: Power hal launches in device without configuration parsing issue. Change-Id: I316abe2c302fc528b558b5fff30f77dd7b438e12
This commit is contained in:
parent
f7df63d4f9
commit
64592cbc5a
3 changed files with 84 additions and 12 deletions
|
@ -3163,7 +3163,15 @@
|
||||||
"SamplingWindow_D": 1,
|
"SamplingWindow_D": 1,
|
||||||
"ReportingRateLimitNs": 83333330,
|
"ReportingRateLimitNs": 83333330,
|
||||||
"TargetTimeFactor": 1.0,
|
"TargetTimeFactor": 1.0,
|
||||||
"StaleTimeFactor": 15.0
|
"StaleTimeFactor": 15.0,
|
||||||
|
"HeuristicBoost_On": true,
|
||||||
|
"HBoostOnMissedCycles": 8,
|
||||||
|
"HBoostOffMaxAvgRatio": 4.0,
|
||||||
|
"HBoostOffMissedCycles": 5,
|
||||||
|
"HBoostPidPuFactor": 0.5,
|
||||||
|
"HBoostUclampMin": 722,
|
||||||
|
"LowFrameRateThreshold": 25,
|
||||||
|
"MaxRecordsNum": 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "REFRESH_90FPS",
|
"Name": "REFRESH_90FPS",
|
||||||
|
@ -3187,7 +3195,15 @@
|
||||||
"SamplingWindow_D": 1,
|
"SamplingWindow_D": 1,
|
||||||
"ReportingRateLimitNs": 111111110,
|
"ReportingRateLimitNs": 111111110,
|
||||||
"TargetTimeFactor": 1.0,
|
"TargetTimeFactor": 1.0,
|
||||||
"StaleTimeFactor": 15.0
|
"StaleTimeFactor": 15.0,
|
||||||
|
"HeuristicBoost_On": true,
|
||||||
|
"HBoostOnMissedCycles": 8,
|
||||||
|
"HBoostOffMaxAvgRatio": 4.0,
|
||||||
|
"HBoostOffMissedCycles": 5,
|
||||||
|
"HBoostPidPuFactor": 0.5,
|
||||||
|
"HBoostUclampMin": 722,
|
||||||
|
"LowFrameRateThreshold": 25,
|
||||||
|
"MaxRecordsNum": 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "REFRESH_60FPS",
|
"Name": "REFRESH_60FPS",
|
||||||
|
@ -3211,7 +3227,15 @@
|
||||||
"SamplingWindow_D": 1,
|
"SamplingWindow_D": 1,
|
||||||
"ReportingRateLimitNs": 166666660,
|
"ReportingRateLimitNs": 166666660,
|
||||||
"TargetTimeFactor": 1.0,
|
"TargetTimeFactor": 1.0,
|
||||||
"StaleTimeFactor": 15.0
|
"StaleTimeFactor": 15.0,
|
||||||
|
"HeuristicBoost_On": true,
|
||||||
|
"HBoostOnMissedCycles": 8,
|
||||||
|
"HBoostOffMaxAvgRatio": 4.0,
|
||||||
|
"HBoostOffMissedCycles": 5,
|
||||||
|
"HBoostPidPuFactor": 0.5,
|
||||||
|
"HBoostUclampMin": 722,
|
||||||
|
"LowFrameRateThreshold": 25,
|
||||||
|
"MaxRecordsNum": 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "UiHighBoostWithoutPid",
|
"Name": "UiHighBoostWithoutPid",
|
||||||
|
|
|
@ -3163,7 +3163,15 @@
|
||||||
"SamplingWindow_D": 1,
|
"SamplingWindow_D": 1,
|
||||||
"ReportingRateLimitNs": 83333330,
|
"ReportingRateLimitNs": 83333330,
|
||||||
"TargetTimeFactor": 1.0,
|
"TargetTimeFactor": 1.0,
|
||||||
"StaleTimeFactor": 15.0
|
"StaleTimeFactor": 15.0,
|
||||||
|
"HeuristicBoost_On": true,
|
||||||
|
"HBoostOnMissedCycles": 8,
|
||||||
|
"HBoostOffMaxAvgRatio": 4.0,
|
||||||
|
"HBoostOffMissedCycles": 5,
|
||||||
|
"HBoostPidPuFactor": 0.5,
|
||||||
|
"HBoostUclampMin": 722,
|
||||||
|
"LowFrameRateThreshold": 25,
|
||||||
|
"MaxRecordsNum": 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "REFRESH_90FPS",
|
"Name": "REFRESH_90FPS",
|
||||||
|
@ -3187,7 +3195,15 @@
|
||||||
"SamplingWindow_D": 1,
|
"SamplingWindow_D": 1,
|
||||||
"ReportingRateLimitNs": 111111110,
|
"ReportingRateLimitNs": 111111110,
|
||||||
"TargetTimeFactor": 1.0,
|
"TargetTimeFactor": 1.0,
|
||||||
"StaleTimeFactor": 15.0
|
"StaleTimeFactor": 15.0,
|
||||||
|
"HeuristicBoost_On": true,
|
||||||
|
"HBoostOnMissedCycles": 8,
|
||||||
|
"HBoostOffMaxAvgRatio": 4.0,
|
||||||
|
"HBoostOffMissedCycles": 5,
|
||||||
|
"HBoostPidPuFactor": 0.5,
|
||||||
|
"HBoostUclampMin": 722,
|
||||||
|
"LowFrameRateThreshold": 25,
|
||||||
|
"MaxRecordsNum": 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "REFRESH_60FPS",
|
"Name": "REFRESH_60FPS",
|
||||||
|
@ -3211,7 +3227,15 @@
|
||||||
"SamplingWindow_D": 1,
|
"SamplingWindow_D": 1,
|
||||||
"ReportingRateLimitNs": 166666660,
|
"ReportingRateLimitNs": 166666660,
|
||||||
"TargetTimeFactor": 1.0,
|
"TargetTimeFactor": 1.0,
|
||||||
"StaleTimeFactor": 15.0
|
"StaleTimeFactor": 15.0,
|
||||||
|
"HeuristicBoost_On": true,
|
||||||
|
"HBoostOnMissedCycles": 8,
|
||||||
|
"HBoostOffMaxAvgRatio": 4.0,
|
||||||
|
"HBoostOffMissedCycles": 5,
|
||||||
|
"HBoostPidPuFactor": 0.5,
|
||||||
|
"HBoostUclampMin": 722,
|
||||||
|
"LowFrameRateThreshold": 25,
|
||||||
|
"MaxRecordsNum": 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "UiHighBoostWithoutPid",
|
"Name": "UiHighBoostWithoutPid",
|
||||||
|
@ -3233,7 +3257,7 @@
|
||||||
"UclampMin_Low": 196,
|
"UclampMin_Low": 196,
|
||||||
"ReportingRateLimitNs": 1,
|
"ReportingRateLimitNs": 1,
|
||||||
"TargetTimeFactor": 1.0,
|
"TargetTimeFactor": 1.0,
|
||||||
"StaleTimeFactor": 5.0
|
"StaleTimeFactor": 15.0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "UiLowBoostWithoutPid",
|
"Name": "UiLowBoostWithoutPid",
|
||||||
|
@ -3255,7 +3279,7 @@
|
||||||
"UclampMin_Low": 52,
|
"UclampMin_Low": 52,
|
||||||
"ReportingRateLimitNs": 1,
|
"ReportingRateLimitNs": 1,
|
||||||
"TargetTimeFactor": 1.0,
|
"TargetTimeFactor": 1.0,
|
||||||
"StaleTimeFactor": 5.0
|
"StaleTimeFactor": 15.0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "UiLowNoneBoost",
|
"Name": "UiLowNoneBoost",
|
||||||
|
@ -3277,7 +3301,7 @@
|
||||||
"UclampMin_Low": 0,
|
"UclampMin_Low": 0,
|
||||||
"ReportingRateLimitNs": 1,
|
"ReportingRateLimitNs": 1,
|
||||||
"TargetTimeFactor": 1.0,
|
"TargetTimeFactor": 1.0,
|
||||||
"StaleTimeFactor": 5.0
|
"StaleTimeFactor": 15.0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -3163,7 +3163,15 @@
|
||||||
"SamplingWindow_D": 1,
|
"SamplingWindow_D": 1,
|
||||||
"ReportingRateLimitNs": 83333330,
|
"ReportingRateLimitNs": 83333330,
|
||||||
"TargetTimeFactor": 1.0,
|
"TargetTimeFactor": 1.0,
|
||||||
"StaleTimeFactor": 15.0
|
"StaleTimeFactor": 15.0,
|
||||||
|
"HeuristicBoost_On": true,
|
||||||
|
"HBoostOnMissedCycles": 8,
|
||||||
|
"HBoostOffMaxAvgRatio": 4.0,
|
||||||
|
"HBoostOffMissedCycles": 5,
|
||||||
|
"HBoostPidPuFactor": 0.5,
|
||||||
|
"HBoostUclampMin": 722,
|
||||||
|
"LowFrameRateThreshold": 25,
|
||||||
|
"MaxRecordsNum": 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "REFRESH_90FPS",
|
"Name": "REFRESH_90FPS",
|
||||||
|
@ -3187,7 +3195,15 @@
|
||||||
"SamplingWindow_D": 1,
|
"SamplingWindow_D": 1,
|
||||||
"ReportingRateLimitNs": 111111110,
|
"ReportingRateLimitNs": 111111110,
|
||||||
"TargetTimeFactor": 1.0,
|
"TargetTimeFactor": 1.0,
|
||||||
"StaleTimeFactor": 15.0
|
"StaleTimeFactor": 15.0,
|
||||||
|
"HeuristicBoost_On": true,
|
||||||
|
"HBoostOnMissedCycles": 8,
|
||||||
|
"HBoostOffMaxAvgRatio": 4.0,
|
||||||
|
"HBoostOffMissedCycles": 5,
|
||||||
|
"HBoostPidPuFactor": 0.5,
|
||||||
|
"HBoostUclampMin": 722,
|
||||||
|
"LowFrameRateThreshold": 25,
|
||||||
|
"MaxRecordsNum": 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "REFRESH_60FPS",
|
"Name": "REFRESH_60FPS",
|
||||||
|
@ -3211,7 +3227,15 @@
|
||||||
"SamplingWindow_D": 1,
|
"SamplingWindow_D": 1,
|
||||||
"ReportingRateLimitNs": 166666660,
|
"ReportingRateLimitNs": 166666660,
|
||||||
"TargetTimeFactor": 1.0,
|
"TargetTimeFactor": 1.0,
|
||||||
"StaleTimeFactor": 15.0
|
"StaleTimeFactor": 15.0,
|
||||||
|
"HeuristicBoost_On": true,
|
||||||
|
"HBoostOnMissedCycles": 8,
|
||||||
|
"HBoostOffMaxAvgRatio": 4.0,
|
||||||
|
"HBoostOffMissedCycles": 5,
|
||||||
|
"HBoostPidPuFactor": 0.5,
|
||||||
|
"HBoostUclampMin": 722,
|
||||||
|
"LowFrameRateThreshold": 25,
|
||||||
|
"MaxRecordsNum": 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "UiHighBoostWithoutPid",
|
"Name": "UiHighBoostWithoutPid",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue