Home
last modified time | relevance | path

Searched refs:cpu_set (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/jni/
Dandroid_util_Process.cpp355 static void parse_cpuset_cpus(char *cpus, cpu_set_t *cpu_set) { in parse_cpuset_cpus() argument
370 CPU_SET(start, cpu_set); in parse_cpuset_cpus()
373 CPU_SET(i, cpu_set); in parse_cpuset_cpus()
386 static void get_cpuset_cores_for_policy(SchedPolicy policy, cpu_set_t *cpu_set) in get_cpuset_cores_for_policy() argument
391 CPU_ZERO(cpu_set); in get_cpuset_cores_for_policy()
424 parse_cpuset_cpus(line, cpu_set); in get_cpuset_cores_for_policy()
439 void get_exclusive_cpuset_cores(SchedPolicy policy, cpu_set_t *cpu_set) { in get_exclusive_cpuset_cores() argument
443 get_cpuset_cores_for_policy(policy, cpu_set); in get_exclusive_cpuset_cores()
448 CPU_XOR(&tmp_set, cpu_set, &tmp_set); in get_exclusive_cpuset_cores()
450 CPU_AND(cpu_set, cpu_set, &tmp_set); in get_exclusive_cpuset_cores()
[all …]
/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimplePlayer.h335 cpu_set_t cpu_set; in setCpuAffinity() local
336 CPU_ZERO(&cpu_set); in setCpuAffinity()
337 CPU_SET(cpuIndex, &cpu_set); in setCpuAffinity()
338 int err = sched_setaffinity((pid_t) 0, sizeof(cpu_set_t), &cpu_set); in setCpuAffinity()
/frameworks/native/services/vr/performanced/
DAndroid.bp45 "cpu_set.cpp",