From cbeff97fefa355151a695d5d0cc1cdacce39b1dc Mon Sep 17 00:00:00 2001 From: guibing Date: Thu, 18 Apr 2024 22:54:06 +0000 Subject: [PATCH] adpf:akita: 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: Ia5b1090d54cd5b8c9490813a8ba74532a50f2b8a --- powerhint-akita.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/powerhint-akita.json b/powerhint-akita.json index 9ed4376..a7b737b 100644 --- a/powerhint-akita.json +++ b/powerhint-akita.json @@ -2900,7 +2900,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JunkCheckTimeFactor": 1.2, + "JankCheckTimeFactor": 1.43, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -2935,7 +2935,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JunkCheckTimeFactor": 1.2, + "JankCheckTimeFactor": 1.43, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -2970,7 +2970,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JunkCheckTimeFactor": 1.2, + "JankCheckTimeFactor": 1.43, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 },