summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDhananjay Kumar <dhakumar@codeaurora.org>2019-07-12 01:27:23 +0530
committerDhananjay Kumar <dhakumar@codeaurora.org>2019-07-12 01:29:39 +0530
commit9e0d2d97a0571fcadb6ebe3aea3c933eabfee85f (patch)
tree4a601307fd2a4963a79e86b2291137deba2017e2
parent54b242beda221a7d3ad3cb7baa94bf8ba671d5f3 (diff)
sched_policy: add audio cpuset for audio app
Update cpuset for audio app. This is needed for improving audio performance and reducing jitter CRS-Fixed: 2454146 Change-Id: I4f0fb0893150639b52f41d32e71c575b82b185f5
-rw-r--r--libprocessgroup/sched_policy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libprocessgroup/sched_policy.cpp b/libprocessgroup/sched_policy.cpp
index 61d52d9d0..49b292f1d 100644
--- a/libprocessgroup/sched_policy.cpp
+++ b/libprocessgroup/sched_policy.cpp
@@ -59,8 +59,8 @@ int set_cpuset_policy(int tid, SchedPolicy policy) {
: -1;
case SP_AUDIO_APP:
case SP_AUDIO_SYS:
- return SetTaskProfiles(tid, {"HighPerformance", "ProcessCapacityHigh", "HighIoPriority",
- "TimerSlackNormal", "BlkIOBackground"},
+ return SetTaskProfiles(tid, {"HighPerformance", "AudioAppCapacity", "HighIoPriority",
+ "TimerSlackNormal", "BlkIOForeground"},
true)
? 0
: -1;