From 302294e462549f9f94eae8e7fd39dd50b6ccfdc3 Mon Sep 17 00:00:00 2001 From: guibing Date: Thu, 18 Apr 2024 22:29:01 +0000 Subject: [PATCH] adpf:comet: 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: Ib189b3f7993e3de1a7175cd8a054272432028b55 --- powerhint-comet.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/powerhint-comet.json b/powerhint-comet.json index d7b6833..b55f05c 100644 --- a/powerhint-comet.json +++ b/powerhint-comet.json @@ -3079,7 +3079,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JunkCheckTimeFactor": 1.2, + "JankCheckTimeFactor": 1.43, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3112,7 +3112,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JunkCheckTimeFactor": 1.2, + "JankCheckTimeFactor": 1.43, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3145,7 +3145,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JunkCheckTimeFactor": 1.2, + "JankCheckTimeFactor": 1.43, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 },