Create gs201 device folder baseline

clone from gs101 sha 9d1c97c2

Bug: 183183095
Change-Id: Ie7112bdf0aceb33c9e1956aa52e961b670582733
This commit is contained in:
Aaron Ding
2021-05-19 13:18:49 +08:00
parent 4414b92594
commit bb4beafe47
283 changed files with 27939 additions and 0 deletions

180
task_profiles.json Normal file
View File

@@ -0,0 +1,180 @@
{
"Profiles": [
{
"Name": "MaxPerformance",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpu",
"Path": "system"
}
},
{
"Name": "WriteFile",
"Params":
{
"FilePath": "/sys/kernel/vendor_sched/set_task_group_ta",
"Value": "<pid>",
"LogFailures": "false"
}
}
]
},
{
"Name": "CameraServicePerformance",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpu",
"Path": "system"
}
},
{
"Name": "WriteFile",
"Params":
{
"FilePath": "/sys/kernel/vendor_sched/set_task_group_cam",
"Value": "<pid>",
"LogFailures": "false"
}
}
]
},
{
"Name": "HighEnergySaving",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpu",
"Path": "background"
}
},
{
"Name": "WriteFile",
"Params":
{
"FilePath": "/sys/kernel/vendor_sched/set_task_group_bg",
"Value": "<pid>",
"LogFailures": "false"
}
}
]
},
{
"Name": "NormalPerformance",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpu",
"Path": "system"
}
},
{
"Name": "WriteFile",
"Params":
{
"FilePath": "/sys/kernel/vendor_sched/clear_group",
"Value": "<pid>",
"LogFailures": "false"
}
}
]
},
{
"Name": "HighPerformance",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpu",
"Path": "system"
}
},
{
"Name": "WriteFile",
"Params":
{
"FilePath": "/sys/kernel/vendor_sched/set_task_group_fg",
"Value": "<pid>",
"LogFailures": "false"
}
}
]
},
{
"Name": "RealtimePerformance",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpu",
"Path": "system"
}
},
{
"Name": "WriteFile",
"Params":
{
"FilePath": "/sys/kernel/vendor_sched/set_task_group_ta",
"Value": "<pid>",
"LogFailures": "false"
}
}
]
},
{
"Name": "NNApiHALPerformance",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpu",
"Path": "system"
}
},
{
"Name": "WriteFile",
"Params":
{
"FilePath": "/sys/kernel/vendor_sched/set_task_group_nnapi",
"Value": "<pid>",
"LogFailures": "false"
}
}
]
},
{
"Name": "SystemBGPerformance",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpu",
"Path": "system"
}
},
{
"Name": "WriteFile",
"Params":
{
"FilePath": "/sys/kernel/vendor_sched/set_task_group_sysbg",
"Value": "<pid>",
"LogFailures": "false"
}
}
]
}
]
}