Adpf:caimito: revert heuristic boost triggering condition.

This reverts previous JankCheckTimeFactor from 1.43 to 1.2.

Since the current reported duration doesn't include the GPU
part, the JankCheckTimeFactor needs to be smaller for matching
jank frame detection.

Bug: 204204746
Test: adb shell dumpsys android.hardware.power.Ipower/default;
      check adpf sessions' traces.
Change-Id: I36ab5e699187650011a91a2c0814c33e62e4e125
This commit is contained in:
guibing 2024-04-25 18:33:18 +00:00 committed by Guibing Cai
parent 528fb87965
commit 2ea470d49a
3 changed files with 9 additions and 9 deletions

View file

@ -3179,7 +3179,7 @@
"HBoostOffMissedCycles": 5, "HBoostOffMissedCycles": 5,
"HBoostPidPuFactor": 0.5, "HBoostPidPuFactor": 0.5,
"HBoostUclampMin": 722, "HBoostUclampMin": 722,
"JankCheckTimeFactor": 1.43, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300
}, },
@ -3212,7 +3212,7 @@
"HBoostOffMissedCycles": 5, "HBoostOffMissedCycles": 5,
"HBoostPidPuFactor": 0.5, "HBoostPidPuFactor": 0.5,
"HBoostUclampMin": 722, "HBoostUclampMin": 722,
"JankCheckTimeFactor": 1.43, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300
}, },
@ -3245,7 +3245,7 @@
"HBoostOffMissedCycles": 5, "HBoostOffMissedCycles": 5,
"HBoostPidPuFactor": 0.5, "HBoostPidPuFactor": 0.5,
"HBoostUclampMin": 722, "HBoostUclampMin": 722,
"JankCheckTimeFactor": 1.43, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300
}, },

View file

@ -3179,7 +3179,7 @@
"HBoostOffMissedCycles": 5, "HBoostOffMissedCycles": 5,
"HBoostPidPuFactor": 0.5, "HBoostPidPuFactor": 0.5,
"HBoostUclampMin": 722, "HBoostUclampMin": 722,
"JankCheckTimeFactor": 1.43, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300
}, },
@ -3212,7 +3212,7 @@
"HBoostOffMissedCycles": 5, "HBoostOffMissedCycles": 5,
"HBoostPidPuFactor": 0.5, "HBoostPidPuFactor": 0.5,
"HBoostUclampMin": 722, "HBoostUclampMin": 722,
"JankCheckTimeFactor": 1.43, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300
}, },
@ -3245,7 +3245,7 @@
"HBoostOffMissedCycles": 5, "HBoostOffMissedCycles": 5,
"HBoostPidPuFactor": 0.5, "HBoostPidPuFactor": 0.5,
"HBoostUclampMin": 722, "HBoostUclampMin": 722,
"JankCheckTimeFactor": 1.43, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300
}, },

View file

@ -3179,7 +3179,7 @@
"HBoostOffMissedCycles": 5, "HBoostOffMissedCycles": 5,
"HBoostPidPuFactor": 0.5, "HBoostPidPuFactor": 0.5,
"HBoostUclampMin": 722, "HBoostUclampMin": 722,
"JankCheckTimeFactor": 1.43, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300
}, },
@ -3212,7 +3212,7 @@
"HBoostOffMissedCycles": 5, "HBoostOffMissedCycles": 5,
"HBoostPidPuFactor": 0.5, "HBoostPidPuFactor": 0.5,
"HBoostUclampMin": 722, "HBoostUclampMin": 722,
"JankCheckTimeFactor": 1.43, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300
}, },
@ -3245,7 +3245,7 @@
"HBoostOffMissedCycles": 5, "HBoostOffMissedCycles": 5,
"HBoostPidPuFactor": 0.5, "HBoostPidPuFactor": 0.5,
"HBoostUclampMin": 722, "HBoostUclampMin": 722,
"JankCheckTimeFactor": 1.43, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300
}, },