Searched refs:sched_getcpu (Results 1 – 25 of 33) sorted by relevance
12
1 use nix::sched::{sched_getaffinity, sched_getcpu, sched_setaffinity, CpuSet};34 let cur_cpu = sched_getcpu().unwrap(); in test_sched_affinity()
310 pub fn sched_getcpu() -> Result<usize> { in sched_getcpu() function311 let res = unsafe { libc::sched_getcpu() }; in sched_getcpu()
29 int result = sched_getcpu(); in sched_getcpu_0100()
18 "sched_getcpu",
40 int sched_getcpu(void) in sched_getcpu() function
30 int sched_getcpu(void) in sched_getcpu() function
118 int current_cpu_id = sched_getcpu(); in setThreadAffinity()
76 int sched_getcpu(void);
77 int sched_getcpu(void);
91 int sched_getcpu(void);
84 int sched_getcpu(void);
88 int sched_getcpu(void);
102 int sched_getcpu(void);
97 return sched_getcpu(); in util_get_current_cpu()
351 my_cpu = sched_getcpu(); in AbslFailureSignalHandler()
180 int cpu = sched_getcpu(); in bind_to_current_cpu()
140 sched_getcpu \
713 cpu = sched_getcpu(); in PinThreadToCPU()
1568 sched_getcpu;
1647 pub fn sched_getcpu() -> ::c_int; in sched_getcpu() function
3198 sched_getcpu
3374 sched_getcpu
3144 pub fn sched_getcpu() -> ::c_int; in sched_getcpu() function