/bionic/libc/bionic/ |
sched_cpualloc.c | 32 cpu_set_t* __sched_cpualloc(size_t count) 34 return (cpu_set_t*) malloc(CPU_ALLOC_SIZE(count)); 37 void __sched_cpufree(cpu_set_t* set)
|
sched_getaffinity.cpp | 33 extern "C" int __sched_getaffinity(pid_t, size_t, cpu_set_t*); 35 int sched_getaffinity(pid_t pid, size_t set_size, cpu_set_t* set) {
|
sched_cpucount.c | 31 int __sched_cpucount(size_t setsize, cpu_set_t* set) {
|
/external/chromium_org/third_party/skia/src/utils/ |
SkThreadUtils_pthread_linux.cpp | 17 static int nth_set_cpu(unsigned int n, cpu_set_t* cpuSet) { 35 cpu_set_t parentCpuset; 36 if (0 != pthread_getaffinity_np(pthread_self(), sizeof(cpu_set_t), &parentCpuset)) { 40 cpu_set_t cpuset; 44 sizeof(cpu_set_t),
|
/bionic/libc/include/ |
sched.h | 75 } cpu_set_t; typedef in typeref:struct:__anon175 77 extern int sched_setaffinity(pid_t pid, size_t setsize, const cpu_set_t* set); 79 extern int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set); 81 #define CPU_ZERO(set) CPU_ZERO_S(sizeof(cpu_set_t), set) 82 #define CPU_SET(cpu, set) CPU_SET_S(cpu, sizeof(cpu_set_t), set) 83 #define CPU_CLR(cpu, set) CPU_CLR_S(cpu, sizeof(cpu_set_t), set) 84 #define CPU_ISSET(cpu, set) CPU_ISSET_S(cpu, sizeof(cpu_set_t), set) 85 #define CPU_COUNT(set) CPU_COUNT_S(sizeof(cpu_set_t), set) 86 #define CPU_EQUAL(set1, set2) CPU_EQUAL_S(sizeof(cpu_set_t), set1, set2) 92 #define __CPU_OP(dst, set1, set2, op) __CPU_OP_S(sizeof(cpu_set_t), dst, set1, set2, op [all...] |
/development/ndk/platforms/android-L/include/ |
sched.h | 75 } cpu_set_t; typedef in typeref:struct:__anon2526 77 extern int sched_setaffinity(pid_t pid, size_t setsize, const cpu_set_t* set); 79 extern int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set); 81 #define CPU_ZERO(set) CPU_ZERO_S(sizeof(cpu_set_t), set) 82 #define CPU_SET(cpu, set) CPU_SET_S(cpu, sizeof(cpu_set_t), set) 83 #define CPU_CLR(cpu, set) CPU_CLR_S(cpu, sizeof(cpu_set_t), set) 84 #define CPU_ISSET(cpu, set) CPU_ISSET_S(cpu, sizeof(cpu_set_t), set) 85 #define CPU_COUNT(set) CPU_COUNT_S(sizeof(cpu_set_t), set) 86 #define CPU_EQUAL(set1, set2) CPU_EQUAL_S(sizeof(cpu_set_t), set1, set2) 92 #define __CPU_OP(dst, set1, set2, op) __CPU_OP_S(sizeof(cpu_set_t), dst, set1, set2, op [all...] |
/bionic/tests/ |
sched_test.cpp | 63 cpu_set_t set; 78 cpu_set_t set; 90 cpu_set_t set; 100 cpu_set_t set; 119 cpu_set_t set1; 120 cpu_set_t set2; 131 cpu_set_t set1; 132 cpu_set_t set2; 133 cpu_set_t set3; 160 cpu_set_t* set = CPU_ALLOC(17) [all...] |
/external/chromium_org/third_party/smhasher/src/ |
Platform.cpp | 29 cpu_set_t mask;
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
open-syscall-all-cpus.c | 13 cpu_set_t cpu_set;
|
perf-record.c | 8 static int sched__get_first_possible_cpu(pid_t pid, cpu_set_t *maskp) 46 cpu_set_t cpu_mask;
|
mmap-basic.c | 25 cpu_set_t cpu_set;
|
/external/oprofile/daemon/ |
opd_perfmon.c | 54 } cpu_set_t; typedef in typeref:struct:__anon7965 59 memset((cpusetp), 0, sizeof(cpu_set_t)) 62 sched_setaffinity(pid_t pid, size_t len, cpu_set_t const * cpusetp) 150 cpu_set_t set;
|
/external/fio/os/ |
os-linux.h | 46 typedef cpu_set_t os_cpu_mask_t; 54 sched_getaffinity((pid), sizeof(cpu_set_t), (ptr))
|
/external/libhevc/common/ |
ithread.c | 419 cpu_set_t cpuset; 429 return pthread_setaffinity_np(cur_thread, sizeof(cpu_set_t), &cpuset);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/bench/ |
numa.c | 45 cpu_set_t bind_cpumask; 206 static cpu_set_t bind_to_cpu(int target_cpu) 208 cpu_set_t orig_mask, mask; 232 static cpu_set_t bind_to_node(int target_node) 235 cpu_set_t orig_mask, mask; 266 static void bind_to_cpumask(cpu_set_t mask) 313 cpu_set_t orig_mask; 1128 cpu_set_t orig_mask; [all...] |
/external/chromium_org/third_party/webrtc/system_wrappers/source/ |
thread_posix.cc | 244 cpu_set_t mask;
|
/external/fio/ |
configure | 632 cpu_set_t mask; 643 cpu_set_t mask;
|
/external/blktrace/btreplay/ |
btreplay.c | 505 cpu_set_t cpus; 530 cpu_set_t cpus; 543 cpu_set_t now; [all...] |
/external/compiler-rt/lib/dfsan/ |
dfsan_custom.cc | 677 int __dfsw_sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask,
|
/external/compiler-rt/test/dfsan/ |
custom.c | 596 cpu_set_t mask;
|
/external/blktrace/ |
blktrace.c | 610 cpu_set_t cpu_mask; [all...] |
/external/netperf/ |
netlib.c | [all...] |
/external/compiler-rt/lib/msan/tests/ |
msan_test.cc | [all...] |