Home
last modified time | relevance | path

Searched refs:cpu_set_t (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/utils/
DSkThreadUtils_pthread_linux.cpp17 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/
Dithread.c178 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/
Dos-linux.h47 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/
Dperf-record.c8 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()
Dopen-syscall-all-cpus.c13 cpu_set_t cpu_set; in test__open_syscall_event_on_all_cpus()
Dmmap-basic.c25 cpu_set_t cpu_set; in test__basic_mmap()
/external/libhevc/common/
Dithread.c419 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/
Dnuma.c45 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/
Dithread.c421 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/
Dsleepers.c124 cpu_set_t single_cpu; in setaffinity()
/external/webrtc/src/system_wrappers/source/
Dthread_posix.cc243 cpu_set_t mask; in SetAffinity()
/external/blktrace/btreplay/
Dbtreplay.c505 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/
Dconfigure660 cpu_set_t mask;
671 cpu_set_t mask;
/external/compiler-rt/test/dfsan/
Dcustom.cc596 cpu_set_t mask; in test_sched_getaffinity()
/external/compiler-rt/lib/dfsan/
Ddfsan_custom.cc685 int __dfsw_sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask, in __dfsw_sched_getaffinity()
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc83 # define cpu_set_t cpuset_t macro
2939 cpu_set_t mask; in TEST()
3078 cpu_set_t v; in TEST()
/external/blktrace/
Dblktrace.c610 cpu_set_t cpu_mask; in lock_on_cpu()
/external/netperf/
Dnetlib.c1995 typedef cpu_set_t netperf_cpu_set_t; in bind_to_specific_processor()