Searched refs:cpusetp (Results 1 – 2 of 2) sorted by relevance
/external/oprofile/daemon/ |
D | opd_perfmon.c | 56 #define CPU_SET(cpu, cpusetp) \ argument 57 ((cpusetp)->__bits[(cpu)/__NCPUBITS] |= (1UL << ((cpu) % __NCPUBITS))) 58 #define CPU_ZERO(cpusetp) \ argument 59 memset((cpusetp), 0, sizeof(cpu_set_t)) 62 sched_setaffinity(pid_t pid, size_t len, cpu_set_t const * cpusetp) in sched_setaffinity() argument 64 return syscall(__NR_sched_setaffinity, pid, len, cpusetp); in sched_setaffinity()
|
/external/netperf/ |
D | netlib.c | 1993 #define NETPERF_CPU_SET(cpu, cpusetp) __CPU_SET(cpu, cpusetp) in bind_to_specific_processor() argument 1994 #define NETPERF_CPU_ZERO(cpusetp) __CPU_ZERO (cpusetp) in bind_to_specific_processor() argument 1998 #define NETPERF_CPU_SET(cpu, cpusetp) *cpusetp = 1 << cpu in bind_to_specific_processor() argument 1999 #define NETPERF_CPU_ZERO(cpusetp) *cpusetp = (unsigned long)0 in bind_to_specific_processor() argument
|