From 01660ca73656fb0506d133d36f0e5036c981bf88 Mon Sep 17 00:00:00 2001 From: guibing Date: Thu, 18 Apr 2024 22:52:02 +0000 Subject: [PATCH] adpf:shusky: update hboost jank check time factor. Update it to align with the HWUI target duration scale factor, so the adjusted jank check time duration is same as expected frame timeline's duration. HWUI target duration scale factor is 70%, and its inverse value is approximately 1.43. Bug: 204204746 Test: adb shell dumpsys android.hardware.power.IPower/default; Check the device adpf sessions' traces. Change-Id: I8565fa1352769e6f879ea5fc12412d00f254da3b --- 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 5fff44d..92546e9 100644 --- a/perf/powerhint-husky.json +++ b/perf/powerhint-husky.json @@ -2992,7 +2992,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JunkCheckTimeFactor": 1.2, + "JankCheckTimeFactor": 1.43, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3027,7 +3027,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JunkCheckTimeFactor": 1.2, + "JankCheckTimeFactor": 1.43, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3062,7 +3062,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JunkCheckTimeFactor": 1.2, + "JankCheckTimeFactor": 1.43, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, diff --git a/perf/powerhint-ripcurrent.json b/perf/powerhint-ripcurrent.json index 5020144..54d9930 100644 --- a/perf/powerhint-ripcurrent.json +++ b/perf/powerhint-ripcurrent.json @@ -2772,7 +2772,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JunkCheckTimeFactor": 1.2, + "JankCheckTimeFactor": 1.43, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -2805,7 +2805,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JunkCheckTimeFactor": 1.2, + "JankCheckTimeFactor": 1.43, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -2838,7 +2838,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JunkCheckTimeFactor": 1.2, + "JankCheckTimeFactor": 1.43, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json index c443237..4335bd7 100644 --- a/perf/powerhint-shiba.json +++ b/perf/powerhint-shiba.json @@ -2896,7 +2896,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JunkCheckTimeFactor": 1.2, + "JankCheckTimeFactor": 1.43, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -2931,7 +2931,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JunkCheckTimeFactor": 1.2, + "JankCheckTimeFactor": 1.43, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -2966,7 +2966,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JunkCheckTimeFactor": 1.2, + "JankCheckTimeFactor": 1.43, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 },