diff options
author | vincechiu <vincechiu@google.com> | 2021-07-20 12:44:59 +0800 |
---|---|---|
committer | Jay <jaytwang@google.com> | 2021-11-10 18:28:28 +0000 |
commit | 86c6a376a78c4b93a398f9055d8b2e0ebd299d51 (patch) | |
tree | cd02535c43a11e9cc5505605d0cda063f6fc5c01 /task_profiles.json | |
parent | a24669c1fd9aa4cc51a2f88a1f92a120f2aab1cc (diff) | |
download | gs201-86c6a376a78c4b93a398f9055d8b2e0ebd299d51.tar.gz |
Camera: create three new groups for camera threads
high-group is running on CPU 6-7.
mid-group is running on CPU 4-5.
mid-high-gropu is running on CPU 4-7.
Move camera tasks to CPU 4-7 for 1 seconds when AP launch.
(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 194271751
Test: GCA
Change-Id: I8e13e9ad0057b8f42f8ed3958bf0c6d58a5a02bc
Diffstat (limited to 'task_profiles.json')
-rw-r--r-- | task_profiles.json | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/task_profiles.json b/task_profiles.json index e4f9c07..5ca5431 100644 --- a/task_profiles.json +++ b/task_profiles.json @@ -45,6 +45,45 @@ ] }, { + "Name": "CameraServiceHighCapacity", + "Actions": [ + { + "Name": "JoinCgroup", + "Params": + { + "Controller": "cpuset", + "Path": "camera-daemon-high-group" + } + } + ] + }, + { + "Name": "CameraServiceMidCapacity", + "Actions": [ + { + "Name": "JoinCgroup", + "Params": + { + "Controller": "cpuset", + "Path": "camera-daemon-mid-group" + } + } + ] + }, + { + "Name": "CameraServiceMidHighCapacity", + "Actions": [ + { + "Name": "JoinCgroup", + "Params": + { + "Controller": "cpuset", + "Path": "camera-daemon-mid-high-group" + } + } + ] + }, + { "Name": "HighEnergySaving", "Actions": [ { |