Home
last modified time | relevance | path

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

/external/iperf3/src/
Dmain.c78 cpu_set_t cpu_set; in main() local
82 sched_getaffinity(0, sizeof(cpu_set_t), &cpu_set); in main()
89 CPU_ZERO(&cpu_set); in main()
90 CPU_SET(affinity, &cpu_set); in main()
91 if (sched_setaffinity(0, sizeof(cpu_set_t), &cpu_set) != 0) in main()
Diperf_api.c3920 cpu_set_t cpu_set; in iperf_setaffinity() local
3922 CPU_ZERO(&cpu_set); in iperf_setaffinity()
3923 CPU_SET(affinity, &cpu_set); in iperf_setaffinity()
3924 if (sched_setaffinity(0, sizeof(cpu_set_t), &cpu_set) != 0) { in iperf_setaffinity()
3966 cpu_set_t cpu_set; in iperf_clearaffinity() local
3969 CPU_ZERO(&cpu_set); in iperf_clearaffinity()
3971 CPU_SET(i, &cpu_set); in iperf_clearaffinity()
3972 if (sched_setaffinity(0, sizeof(cpu_set_t), &cpu_set) != 0) { in iperf_clearaffinity()
/external/ltp/testcases/kernel/syscalls/getcpu/
Dgetcpu01.c126 unsigned int cpu_set; in run() local
131 cpu_set = set_cpu_affinity(); in run()
133 node_set = get_nodeid(cpu_set); in run()
138 if (cpu_id != cpu_set) in run()
141 cpu_set, cpu_id); in run()
/external/linux-kselftest/tools/testing/selftests/net/
Dreuseport_bpf_cpu.c99 cpu_set_t cpu_set; in send_from_cpu() local
129 memset(&cpu_set, 0, sizeof(cpu_set)); in send_from_cpu()
130 CPU_SET(cpu_id, &cpu_set); in send_from_cpu()
131 if (sched_setaffinity(0, sizeof(cpu_set), &cpu_set) < 0) in send_from_cpu()
/external/linux-kselftest/tools/testing/selftests/mqueue/
Dmq_perf_tests.c83 cpu_set_t *cpu_set; variable
555 cpu_set = CPU_ALLOC(cpus_online); in main()
556 if (cpu_set == NULL) { in main()
561 CPU_ZERO_S(cpu_set_size, cpu_set); in main()
589 cpu_set)) { in main()
595 cpu_set_size, cpu_set); in main()
724 CPU_ZERO_S(cpu_set_size, cpu_set); in main()
725 CPU_SET_S(cpus_to_pin[i], cpu_set_size, cpu_set); in main()
728 cpu_set); in main()
/external/ltp/android/
Dskipped-tests.txt7 …mpiled succesfully. ltp library cpu_set still yields errors, so it is disabled, and every testcase…
/external/python/cpython3/Modules/
Dposixmodule.c5749 cpu_set_t *cpu_set = NULL; in os_sched_setaffinity_impl() local
5758 cpu_set = CPU_ALLOC(ncpus); in os_sched_setaffinity_impl()
5759 if (cpu_set == NULL) { in os_sched_setaffinity_impl()
5763 CPU_ZERO_S(setsize, cpu_set); in os_sched_setaffinity_impl()
5804 memcpy(newmask, cpu_set, setsize); in os_sched_setaffinity_impl()
5805 CPU_FREE(cpu_set); in os_sched_setaffinity_impl()
5807 cpu_set = newmask; in os_sched_setaffinity_impl()
5810 CPU_SET_S(cpu, setsize, cpu_set); in os_sched_setaffinity_impl()
5814 if (sched_setaffinity(pid, setsize, cpu_set)) { in os_sched_setaffinity_impl()
5818 CPU_FREE(cpu_set); in os_sched_setaffinity_impl()
[all …]
/external/google-breakpad/src/processor/testdata/symbols/microdump/breakpad_unittests/DA7778FB66018A4E9B4110ED06E730D00/
Dbreakpad_unittests.sym14 FILE 12 /s/clank/src/out_arm/Release/../../breakpad/src/client/linux/minidump_writer/cpu_set.h
/external/python/cpython3/Misc/
DHISTORY7188 - Issue #15514: Correct __sizeof__ support for cpu_set.
/external/google-breakpad/src/processor/testdata/symbols/microdump/breakpad_unittests/D6D1FEC9A15DE7F38A236898871A2E770/
Dbreakpad_unittests.sym14 FILE 12 /s/clank/src/out/Release/../../breakpad/src/client/linux/minidump_writer/cpu_set.h