From 2ea470d49a94b4d8c9a8fb6163af660f76e1b82d Mon Sep 17 00:00:00 2001 From: guibing Date: Thu, 25 Apr 2024 18:33:18 +0000 Subject: [PATCH] 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 --- perf/powerhint-caiman.json | 6 +++--- perf/powerhint-komodo.json | 6 +++--- perf/powerhint-tokay.json | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/perf/powerhint-caiman.json b/perf/powerhint-caiman.json index 030fd2d3..9283417a 100644 --- a/perf/powerhint-caiman.json +++ b/perf/powerhint-caiman.json @@ -3179,7 +3179,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3212,7 +3212,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3245,7 +3245,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, diff --git a/perf/powerhint-komodo.json b/perf/powerhint-komodo.json index 84f77ae9..a977bde5 100644 --- a/perf/powerhint-komodo.json +++ b/perf/powerhint-komodo.json @@ -3179,7 +3179,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3212,7 +3212,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3245,7 +3245,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, diff --git a/perf/powerhint-tokay.json b/perf/powerhint-tokay.json index 030fd2d3..9283417a 100644 --- a/perf/powerhint-tokay.json +++ b/perf/powerhint-tokay.json @@ -3179,7 +3179,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3212,7 +3212,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3245,7 +3245,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 },