0450345165
* cgroups and task_profiles exists in system/etc/task_profiles, but it does not has API26 ones so we add it * Schedtune sometimes fail maybe because of this but still unsure Signed-off-by: clarencelol <clarencekuiek@icloud.com> Signed-off-by: pix106 <sbordenave@gmail.com>
135 lines
2.4 KiB
JSON
135 lines
2.4 KiB
JSON
{
|
|
"Attributes": [
|
|
{
|
|
"Name": "STuneBoost",
|
|
"Controller": "schedtune",
|
|
"File": "schedtune.boost"
|
|
},
|
|
{
|
|
"Name": "STunePreferIdle",
|
|
"Controller": "schedtune",
|
|
"File": "schedtune.prefer_idle"
|
|
}
|
|
],
|
|
|
|
"Profiles": [
|
|
{
|
|
"Name": "HighEnergySaving",
|
|
"Actions": [
|
|
{
|
|
"Name": "JoinCgroup",
|
|
"Params":
|
|
{
|
|
"Controller": "schedtune",
|
|
"Path": "background"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name": "NormalPerformance",
|
|
"Actions": [
|
|
{
|
|
"Name": "JoinCgroup",
|
|
"Params":
|
|
{
|
|
"Controller": "schedtune",
|
|
"Path": ""
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name": "HighPerformance",
|
|
"Actions": [
|
|
{
|
|
"Name": "JoinCgroup",
|
|
"Params":
|
|
{
|
|
"Controller": "schedtune",
|
|
"Path": "foreground"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name": "MaxPerformance",
|
|
"Actions": [
|
|
{
|
|
"Name": "JoinCgroup",
|
|
"Params":
|
|
{
|
|
"Controller": "schedtune",
|
|
"Path": "top-app"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name": "RealtimePerformance",
|
|
"Actions": [
|
|
{
|
|
"Name": "JoinCgroup",
|
|
"Params":
|
|
{
|
|
"Controller": "schedtune",
|
|
"Path": "rt"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name": "CameraServicePerformance",
|
|
"Actions": [
|
|
{
|
|
"Name": "JoinCgroup",
|
|
"Params":
|
|
{
|
|
"Controller": "schedtune",
|
|
"Path": "camera-daemon"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name": "NNApiHALPerformance",
|
|
"Actions": [
|
|
{
|
|
"Name": "JoinCgroup",
|
|
"Params":
|
|
{
|
|
"Controller": "schedtune",
|
|
"Path": "nnapi-hal"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
"Name": "CpuPolicySpread",
|
|
"Actions": [
|
|
{
|
|
"Name": "SetAttribute",
|
|
"Params":
|
|
{
|
|
"Name": "STunePreferIdle",
|
|
"Value": "1"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name": "CpuPolicyPack",
|
|
"Actions": [
|
|
{
|
|
"Name": "SetAttribute",
|
|
"Params":
|
|
{
|
|
"Name": "STunePreferIdle",
|
|
"Value": "0"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|