Home
last modified time | relevance | path

Searched refs:CPU_SET (Results 1 – 25 of 51) sorted by relevance

123

/third_party/rust/crates/rustix/src/backend/libc/process/
Dcpu_set.rs7 pub(crate) fn CPU_SET(cpu: usize, cpuset: &mut RawCpuSet) { in CPU_SET() function
14 unsafe { c::CPU_SET(cpu, cpuset) } in CPU_SET()
/third_party/ltp/testcases/realtime/stress/pi-tests/
Dtestpi-3.c105 CPU_SET(0, &mask); in func_nonrt()
154 CPU_SET(0, &mask); in func_rt()
210 CPU_SET(0, &mask); in func_noise()
328 CPU_SET(0, &mask); in main()
/third_party/pulseaudio/src/tests/
Datomic-test.c110 CPU_SET(1, &io1.cpuset); in START_TEST()
114 CPU_SET(3, &io2.cpuset); in START_TEST()
Drtstutter.c69 CPU_SET((size_t) PA_PTR_TO_UINT(p), &mask); in work()
Donce-test.c71 CPU_SET((size_t) (pa_atomic_inc(&i_cpu) % n_cpu), &mask); in thread_func()
/third_party/skia/third_party/externals/oboe/samples/shared/
DDefaultAudioStreamCallback.h120 CPU_SET(current_cpu_id, &cpu_set); in setThreadAffinity()
126 CPU_SET(cpu_id, &cpu_set); in setThreadAffinity()
/third_party/benchmark/cmake/
Dpthread_affinity.cpp6 CPU_SET(i, &set); in main()
/third_party/musl/libc-test/src/functionalext/supplement/sched/
Dsched_getaffinity.c32 CPU_SET(0, &mask); in sched_getaffinity_0100()
Dsched_setaffinity.c61 CPU_SET(0, &mask); in sched_setaffinity_0200()
/third_party/ltp/include/lapi/
Dcpuset.h44 #define CPU_SET_S(cpu, size, mask) CPU_SET(cpu, mask)
/third_party/ltp/testcases/open_posix_testsuite/include/
Daffinity.h36 CPU_SET(cpu, &mask); in set_affinity()
/third_party/musl/libc-test/src/regression/
Dmalloc-free-performance.c164 CPU_SET(0, &mask); in main()
Dmalloc-multi-thread-performance.c34 CPU_SET(0, &mask); in func()
/third_party/ltp/testcases/kernel/sched/cfs-scheduler/
Dstarvation.c55 CPU_SET(0, &mask); in setup()
/third_party/rust/crates/rustix/src/backend/linux_raw/process/
Dcpu_set.rs7 pub(crate) fn CPU_SET(cpu: usize, cpuset: &mut RawCpuSet) { in CPU_SET() function
/third_party/rust/crates/rustix/src/process/
Dsched.rs46 backend::process::cpu_set::CPU_SET(field, &mut self.cpu_set) in set()
/third_party/ltp/testcases/realtime/func/measurement/
Dpreempt_timing.c122 CPU_SET(0, &mask); in main()
/third_party/ltp/testcases/realtime/func/pi-tests/
Dtestpi-1.c176 CPU_SET(0, &mask); in main()
Dtestpi-4.c177 CPU_SET(0, &mask); in main()
Dtestpi-2.c178 CPU_SET(0, &mask); in main()
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
Dcpuset_syscall_test.c128 CPU_SET(i, &tmask); in test_setaffinity()
/third_party/ltp/testcases/kernel/device-drivers/cpufreq/
Dcpufreq_boost.c130 CPU_SET(0, &set); in setup()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dthread.cpp382 CPU_SET(affinity[i].pthread.index, &cpuset); in setAffinity()
390 CPU_SET(affinity[i].pthread.index, &cpuset); in setAffinity()
/third_party/musl/porting/uniproton/kernel/include/
Dsched.h116 #define CPU_SET(i, set) CPU_SET_S(i,sizeof(cpu_set_t),set) macro
/third_party/musl/porting/liteos_m/kernel/include/
Dsched.h116 #define CPU_SET(i, set) CPU_SET_S(i,sizeof(cpu_set_t),set) macro

123