/bionic/libc/include/ |
sched.h | 100 } cpu_set_t; typedef in typeref:struct:__anon91 102 extern int sched_setaffinity(pid_t pid, size_t setsize, const cpu_set_t* set); 104 extern int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set); 106 /* Provide optimized implementation for 32-bit cpu_set_t */ 148 # define CPU_ZERO(set_) CPU_ZERO_S(sizeof(cpu_set_t), set_) 149 # define CPU_SET(cpu_,set_) CPU_SET_S(cpu_,sizeof(cpu_set_t),set_) 150 # define CPU_CLR(cpu_,set_) CPU_CLR_S(cpu_,sizeof(cpu_set_t),set_) 151 # define CPU_ISSET(cpu_,set_) CPU_ISSET_S(cpu_,sizeof(cpu_set_t),set_) 152 # define CPU_COUNT(set_) CPU_COUNT_S(sizeof(cpu_set_t),set_) 153 # define CPU_EQUAL(set1_,set2_) CPU_EQUAL_S(sizeof(cpu_set_t),set1_,set2_ [all...] |
/external/oprofile/daemon/ |
opd_perfmon.c | 54 } cpu_set_t; typedef in typeref:struct:__anon24356 59 memset((cpusetp), 0, sizeof(cpu_set_t)) 62 sched_setaffinity(pid_t pid, size_t len, cpu_set_t const * cpusetp) 150 cpu_set_t set;
|
/external/stressapptest/src/ |
sattypes.h | 93 // cpu_set_t versus those that take unsigned long. -johnhuang 94 typedef uint64 cpu_set_t; typedef 95 #define CPU_SETSIZE (sizeof(cpu_set_t) * 8) 102 static inline bool cpuset_isequal(const cpu_set_t *c1, const cpu_set_t *c2) { 109 static inline bool cpuset_issubset(const cpu_set_t *c1, const cpu_set_t *c2) { 116 static inline int cpuset_count(const cpu_set_t *cpuset) { 124 static inline void cpuset_set_ab(cpu_set_t *cpuset, int a, int b) { 130 static inline string cpuset_format(const cpu_set_t *cpuset) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
sched.h | 107 /* Type for array elements in 'cpu_set_t'. */ 118 } cpu_set_t; typedef in typeref:struct:__anon37297 129 cpu_set_t *__arr = (cpusetp); \ 160 ({ cpu_set_t *__arr1 = (cpusetp1); \ 161 cpu_set_t *__arr2 = (cpusetp2); \ 172 ({ cpu_set_t *__dest = (destset); \ 173 cpu_set_t *__arr1 = (srcset1); \ 174 cpu_set_t *__arr2 = (srcset2); \ 188 extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) 190 extern cpu_set_t *__sched_cpualloc (size_t __count) __THROW __wur [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
sched.h | 107 /* Type for array elements in 'cpu_set_t'. */ 118 } cpu_set_t; typedef in typeref:struct:__anon38887 129 cpu_set_t *__arr = (cpusetp); \ 160 ({ cpu_set_t *__arr1 = (cpusetp1); \ 161 cpu_set_t *__arr2 = (cpusetp2); \ 172 ({ cpu_set_t *__dest = (destset); \ 173 cpu_set_t *__arr1 = (srcset1); \ 174 cpu_set_t *__arr2 = (srcset2); \ 188 extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) 190 extern cpu_set_t *__sched_cpualloc (size_t __count) __THROW __wur [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
sched.h | 107 /* Type for array elements in 'cpu_set_t'. */ 118 } cpu_set_t; typedef in typeref:struct:__anon40402 129 cpu_set_t *__arr = (cpusetp); \ 160 ({ cpu_set_t *__arr1 = (cpusetp1); \ 161 cpu_set_t *__arr2 = (cpusetp2); \ 172 ({ cpu_set_t *__dest = (destset); \ 173 cpu_set_t *__arr1 = (srcset1); \ 174 cpu_set_t *__arr2 = (srcset2); \ 188 extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) 190 extern cpu_set_t *__sched_cpualloc (size_t __count) __THROW __wur [all...] |