From 340d8f1f91b551eeaf2ebd27ebbe22f359c13ac2 Mon Sep 17 00:00:00 2001 From: guibing Date: Thu, 25 Apr 2024 19:02:36 +0000 Subject: [PATCH] Adpf:shusky: 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: I9c7587b6b1507fae685561fcf008c5ab9ae73532 --- perf/powerhint-husky.json | 6 +++--- perf/powerhint-ripcurrent.json | 6 +++--- perf/powerhint-shiba.json | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/perf/powerhint-husky.json b/perf/powerhint-husky.json index 8522bb5..4592bd7 100644 --- a/perf/powerhint-husky.json +++ b/perf/powerhint-husky.json @@ -3074,7 +3074,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3109,7 +3109,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3144,7 +3144,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, diff --git a/perf/powerhint-ripcurrent.json b/perf/powerhint-ripcurrent.json index 0d6715a..f7ef01a 100644 --- a/perf/powerhint-ripcurrent.json +++ b/perf/powerhint-ripcurrent.json @@ -2854,7 +2854,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -2887,7 +2887,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -2920,7 +2920,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json index da77adc..4e1e732 100644 --- a/perf/powerhint-shiba.json +++ b/perf/powerhint-shiba.json @@ -2978,7 +2978,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3013,7 +3013,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3048,7 +3048,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 },