Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/src/swappy/
DChoreographerThread.cpp153 cpu_set_t cpu_set; in looperThread() local
154 CPU_ZERO(&cpu_set); in looperThread()
155 CPU_SET(0, &cpu_set); in looperThread()
160 cpu_set = cpu.getLittleCoresMask(); in looperThread()
166 name, tid, tid, to_mask(cpu_set)); in looperThread()
167 sched_setaffinity(tid, sizeof(cpu_set), &cpu_set); in looperThread()
DCpuInfo.cpp160 unsigned int to_mask(cpu_set_t cpu_set) { in to_mask() argument
164 if (CPU_ISSET(i, &cpu_set)) in to_mask()
DCpuInfo.h69 unsigned int to_mask(cpu_set_t cpu_set);
/frameworks/base/core/jni/
Dandroid_util_Process.cpp324 static void parse_cpuset_cpus(char *cpus, cpu_set_t *cpu_set) { in parse_cpuset_cpus() argument
339 CPU_SET(start, cpu_set); in parse_cpuset_cpus()
342 CPU_SET(i, cpu_set); in parse_cpuset_cpus()
355 static void get_cpuset_cores_for_policy(SchedPolicy policy, cpu_set_t *cpu_set) in get_cpuset_cores_for_policy() argument
360 CPU_ZERO(cpu_set); in get_cpuset_cores_for_policy()
393 parse_cpuset_cpus(line, cpu_set); in get_cpuset_cores_for_policy()
408 void get_exclusive_cpuset_cores(SchedPolicy policy, cpu_set_t *cpu_set) { in get_exclusive_cpuset_cores() argument
412 get_cpuset_cores_for_policy(policy, cpu_set); in get_exclusive_cpuset_cores()
417 CPU_XOR(&tmp_set, cpu_set, &tmp_set); in get_exclusive_cpuset_cores()
419 CPU_AND(cpu_set, cpu_set, &tmp_set); in get_exclusive_cpuset_cores()
[all …]
/frameworks/native/services/vr/performanced/
DAndroid.bp35 "cpu_set.cpp",