Commit 799be8c1 authored by Liujie Xie's avatar Liujie Xie Committed by Treehugger Robot
Browse files

ANDROID: vendor_hooks: Add hooks for frequency optimization



These hooks will do the following works:
a) Record the number of times when target_freq being clamped
b) Record the number of times when target_freq is greater than policy->cur
c) Make corresponding optimization strategies in different hooks
d) change the value of target_freq for some scenarios

Bug: 205906618
Bug: 206896672
Bug: 265246457
Bug: 314452030
Bug: 375411880

Change-Id: I8eba66fd0c6d36393ca39045cf228b659834e0ae
Signed-off-by: default avatarLiujie Xie <xieliujie@oppo.com>
Signed-off-by: default avatarvincent.wang <vincent.wang@unisoc.com>
Signed-off-by: default avatarHan Lin <han.lin%mediatek.com@gtempaccount.com>
Signed-off-by: default avatarWade Wu <wei-ya.wu@mediatek.corp-partner.google.com>
parent 93ad3e59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment