From e6fe682d227b795252393779106b231c1d5501d7 Mon Sep 17 00:00:00 2001 From: guibing Date: Tue, 16 Apr 2024 00:17:11 +0000 Subject: [PATCH] adpf:shusky: add hboost junk detection time factor into power hint json files. Bug: 204204746 Test: adb shell dumpsys android.hardware.power.IPower/default; Check the device adpf sessions' traces. Change-Id: If4c116e172b101eebe8a8b9b539f3a55e4299ca8 --- perf/powerhint-husky.json | 3 +++ perf/powerhint-ripcurrent.json | 3 +++ perf/powerhint-shiba.json | 3 +++ 3 files changed, 9 insertions(+) diff --git a/perf/powerhint-husky.json b/perf/powerhint-husky.json index 6f27afc..5fff44d 100644 --- a/perf/powerhint-husky.json +++ b/perf/powerhint-husky.json @@ -2992,6 +2992,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3026,6 +3027,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3060,6 +3062,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, diff --git a/perf/powerhint-ripcurrent.json b/perf/powerhint-ripcurrent.json index bfcb030..5020144 100644 --- a/perf/powerhint-ripcurrent.json +++ b/perf/powerhint-ripcurrent.json @@ -2772,6 +2772,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -2804,6 +2805,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -2836,6 +2838,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json index 7e71f6e..c443237 100644 --- a/perf/powerhint-shiba.json +++ b/perf/powerhint-shiba.json @@ -2896,6 +2896,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -2930,6 +2931,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -2964,6 +2966,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 },