Searched refs:cpu_set_t (Results 1 – 18 of 18) sorted by relevance
/external/skia/src/utils/ |
D | SkThreadUtils_pthread_linux.cpp | 17 static int nth_set_cpu(unsigned int n, cpu_set_t* cpuSet) { in nth_set_cpu() 35 cpu_set_t parentCpuset; in setProcessorAffinity() 36 if (0 != pthread_getaffinity_np(pthread_self(), sizeof(cpu_set_t), &parentCpuset)) { in setProcessorAffinity() 40 cpu_set_t cpuset; in setProcessorAffinity() 44 sizeof(cpu_set_t), in setProcessorAffinity()
|
/external/libavc/common/ |
D | ithread.c | 178 cpu_set_t cpuset; in ithread_set_affinity() 188 return pthread_setaffinity_np(cur_thread, sizeof(cpu_set_t), &cpuset); in ithread_set_affinity()
|
/external/fio/os/ |
D | os-linux.h | 47 typedef cpu_set_t os_cpu_mask_t; 55 sched_getaffinity((pid), sizeof(cpu_set_t), (ptr))
|
/external/linux-tools-perf/src/tools/perf/tests/ |
D | perf-record.c | 8 static int sched__get_first_possible_cpu(pid_t pid, cpu_set_t *maskp) in sched__get_first_possible_cpu() 46 cpu_set_t cpu_mask; in test__PERF_RECORD()
|
D | open-syscall-all-cpus.c | 13 cpu_set_t cpu_set; in test__open_syscall_event_on_all_cpus()
|
D | mmap-basic.c | 25 cpu_set_t cpu_set; in test__basic_mmap()
|
/external/libhevc/common/ |
D | ithread.c | 419 cpu_set_t cpuset; in ithread_set_affinity() 429 return pthread_setaffinity_np(cur_thread, sizeof(cpu_set_t), &cpuset); in ithread_set_affinity()
|
/external/linux-tools-perf/src/tools/perf/bench/ |
D | numa.c | 45 cpu_set_t bind_cpumask; 206 static cpu_set_t bind_to_cpu(int target_cpu) in bind_to_cpu() 208 cpu_set_t orig_mask, mask; in bind_to_cpu() 232 static cpu_set_t bind_to_node(int target_node) in bind_to_node() 235 cpu_set_t orig_mask, mask; in bind_to_node() 266 static void bind_to_cpumask(cpu_set_t mask) in bind_to_cpumask() 313 cpu_set_t orig_mask; in alloc_data() 1128 cpu_set_t orig_mask; in worker_thread()
|
/external/libmpeg2/common/ |
D | ithread.c | 421 cpu_set_t cpuset; in ithread_set_affinity() 431 return pthread_setaffinity_np(cur_thread, sizeof(cpu_set_t), &cpuset); in ithread_set_affinity()
|
/external/valgrind/gdbserver_tests/ |
D | sleepers.c | 124 cpu_set_t single_cpu; in setaffinity()
|
/external/webrtc/src/system_wrappers/source/ |
D | thread_posix.cc | 243 cpu_set_t mask; in SetAffinity()
|
/external/blktrace/btreplay/ |
D | btreplay.c | 505 cpu_set_t cpus; in get_ncpus() 530 cpu_set_t cpus; in pin_to_cpu() 543 cpu_set_t now; in pin_to_cpu()
|
/external/fio/ |
D | configure | 660 cpu_set_t mask; 671 cpu_set_t mask;
|
/external/compiler-rt/test/dfsan/ |
D | custom.cc | 596 cpu_set_t mask; in test_sched_getaffinity()
|
/external/compiler-rt/lib/dfsan/ |
D | dfsan_custom.cc | 685 int __dfsw_sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask, in __dfsw_sched_getaffinity()
|
/external/compiler-rt/lib/msan/tests/ |
D | msan_test.cc | 83 # define cpu_set_t cpuset_t macro 2939 cpu_set_t mask; in TEST() 3078 cpu_set_t v; in TEST()
|
/external/blktrace/ |
D | blktrace.c | 610 cpu_set_t cpu_mask; in lock_on_cpu()
|
/external/netperf/ |
D | netlib.c | 1995 typedef cpu_set_t netperf_cpu_set_t; in bind_to_specific_processor()
|