Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dperf_buffer.c27 cpu_set_t cpu_set, cpu_seen; in test_perf_buffer() local
67 CPU_ZERO(&cpu_set); in test_perf_buffer()
68 CPU_SET(i, &cpu_set); in test_perf_buffer()
70 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), in test_perf_buffer()
71 &cpu_set); in test_perf_buffer()
Dget_stack_raw_tp.c94 cpu_set_t cpu_set; in test_get_stack_raw_tp() local
112 CPU_ZERO(&cpu_set); in test_get_stack_raw_tp()
113 CPU_SET(0, &cpu_set); in test_get_stack_raw_tp()
114 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_get_stack_raw_tp()
/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.c4010 cpu_set_t cpu_set; in iperf_setaffinity() local
4012 CPU_ZERO(&cpu_set); in iperf_setaffinity()
4013 CPU_SET(affinity, &cpu_set); in iperf_setaffinity()
4014 if (sched_setaffinity(0, sizeof(cpu_set_t), &cpu_set) != 0) { in iperf_setaffinity()
4056 cpu_set_t cpu_set; in iperf_clearaffinity() local
4059 CPU_ZERO(&cpu_set); in iperf_clearaffinity()
4061 CPU_SET(i, &cpu_set); in iperf_clearaffinity()
4062 if (sched_setaffinity(0, sizeof(cpu_set_t), &cpu_set) != 0) { in iperf_clearaffinity()
/external/ltp/testcases/kernel/syscalls/getcpu/
Dgetcpu01.c127 unsigned int cpu_set; in run() local
132 cpu_set = set_cpu_affinity(); in run()
134 node_set = get_nodeid(cpu_set); in run()
139 if (cpu_id != cpu_set) in run()
142 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/cpuinfo/
DREADME.md89 cpu_set_t cpu_set;
90 CPU_ZERO(&cpu_set);
93 CPU_SET(cpuinfo_get_processor(current_l2->processor_start + i)->linux_id, &cpu_set);
95 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpu_set);
/external/python/cpython3/Modules/
Dposixmodule.c6381 cpu_set_t *cpu_set = NULL; in os_sched_setaffinity_impl() local
6390 cpu_set = CPU_ALLOC(ncpus); in os_sched_setaffinity_impl()
6391 if (cpu_set == NULL) { in os_sched_setaffinity_impl()
6395 CPU_ZERO_S(setsize, cpu_set); in os_sched_setaffinity_impl()
6436 memcpy(newmask, cpu_set, setsize); in os_sched_setaffinity_impl()
6437 CPU_FREE(cpu_set); in os_sched_setaffinity_impl()
6439 cpu_set = newmask; in os_sched_setaffinity_impl()
6442 CPU_SET_S(cpu, setsize, cpu_set); in os_sched_setaffinity_impl()
6449 if (sched_setaffinity(pid, setsize, cpu_set)) { in os_sched_setaffinity_impl()
6453 CPU_FREE(cpu_set); in os_sched_setaffinity_impl()
[all …]
/external/cpuinfo/test/dmesg/
Dgalaxy-s8-global.log3152 [ 3.964567] [0: cbd: 3342] mif: cbd: std_security_req: orig cpu_set[0]=0x000000ff
3153 [ 3.965382] [1: cbd: 3342] mif: cbd: std_security_req: new cpu_set[0]=0x000000fe
3160 [ 3.984300] [1: cbd: 3342] mif: cbd: std_security_req: restore cpu_set[0]=0x000000ff
3218 [ 4.159346] [4: cbd: 3342] mif: cbd: std_security_req: orig cpu_set[0]=0x000000ff
3219 [ 4.159377] [4: cbd: 3342] mif: cbd: std_security_req: new cpu_set[0]=0x000000fe
3241 [ 4.311597] [4: cbd: 3342] mif: cbd: std_security_req: restore cpu_set[0]=0x000000ff
Dgalaxy-a8-2018.log4080 [ 5.736013] [0: cbd: 2979] mif: cbd: std_security_req: orig cpu_set[0]=0x000000ff
4081 [ 5.736647] [4: cbd: 2979] mif: cbd: std_security_req: new cpu_set[0]=0x000000fe
4086 [ 5.736777] [4: cbd: 2979] mif: cbd: std_security_req: restore cpu_set[0]=0x000000ff
4162 [ 6.126437] [6: cbd: 2979] mif: cbd: std_security_req: orig cpu_set[0]=0x000000ff
4163 [ 6.126463] [6: cbd: 2979] mif: cbd: std_security_req: new cpu_set[0]=0x000000fe
4225 [ 6.296134] [6: cbd: 2979] mif: cbd: std_security_req: restore cpu_set[0]=0x000000ff
/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