/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
open-syscall-all-cpus.c | 13 cpu_set_t cpu_set; local 27 CPU_ZERO(&cpu_set); 55 CPU_SET(cpus->map[cpu], &cpu_set); 56 if (sched_setaffinity(0, sizeof(cpu_set), &cpu_set) < 0) { 66 CPU_CLR(cpus->map[cpu], &cpu_set);
|
mmap-basic.c | 25 cpu_set_t cpu_set; local 47 CPU_ZERO(&cpu_set); 48 CPU_SET(cpus->map[0], &cpu_set); 49 sched_setaffinity(0, sizeof(cpu_set), &cpu_set); 50 if (sched_setaffinity(0, sizeof(cpu_set), &cpu_set) < 0) {
|
/bionic/tests/ |
sched_test.cpp | 62 TEST(sched, cpu_set) { 66 CPU_SET(0, &set); 67 CPU_SET(17, &set); 73 CPU_SET(CPU_SETSIZE, &set); 82 CPU_SET(2, &set); 83 CPU_SET(10, &set); 103 CPU_SET(0, &set); 104 CPU_SET(1, &set); 124 CPU_SET(1, &set1); 126 CPU_SET(1, &set2) [all...] |
/external/chromium_org/third_party/smhasher/src/ |
Platform.cpp | 33 CPU_SET(2,&mask);
|
/external/chromium_org/third_party/skia/src/utils/ |
SkThreadUtils_pthread_linux.cpp | 42 CPU_SET(nth_set_cpu(processor, &parentCpuset), &cpuset);
|
/external/skia/src/utils/ |
SkThreadUtils_pthread_linux.cpp | 42 CPU_SET(nth_set_cpu(processor, &parentCpuset), &cpuset);
|
/system/extras/tests/bionic/libc/common/ |
test_cpu_set.c | 87 CPU_SET(nn, set); 99 CPU_SET(nn, set); 114 CPU_SET(nn, set); 214 CPU_SET(cpu, &set0);
|
/development/ndk/platforms/android-3/include/linux/ |
cpumask.h | 21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) macro 42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0] = 1UL<<(cpu); } else { cpus_clear(m); cpu_set((cpu), m); } m; })
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/ |
sched.h | 70 /* Access macros for `cpu_set'. */ 72 # define CPU_SET(cpu, cpusetp) __CPU_SET_S (cpu, sizeof (cpu_set_t), cpusetp)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
sched.h | 70 /* Access macros for `cpu_set'. */ 72 # define CPU_SET(cpu, cpusetp) __CPU_SET_S (cpu, sizeof (cpu_set_t), cpusetp)
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
cpumask.h | 21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) macro 42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0] = 1UL<<(cpu); } else { cpus_clear(m); cpu_set((cpu), m); } m; })
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
cpumask.h | 21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) macro 42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0] = 1UL<<(cpu); } else { cpus_clear(m); cpu_set((cpu), m); } m; })
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
cpumask.h | 21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) macro 42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0] = 1UL<<(cpu); } else { cpus_clear(m); cpu_set((cpu), m); } m; })
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
cpumask.h | 21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) macro 42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0] = 1UL<<(cpu); } else { cpus_clear(m); cpu_set((cpu), m); } m; })
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
cpumask.h | 21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) macro 42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0] = 1UL<<(cpu); } else { cpus_clear(m); cpu_set((cpu), m); } m; })
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
cpumask.h | 21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) macro 42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0] = 1UL<<(cpu); } else { cpus_clear(m); cpu_set((cpu), m); } m; })
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/ |
cpumask.h | 21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) macro 42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0] = 1UL<<(cpu); } else { cpus_clear(m); cpu_set((cpu), m); } m; })
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/ |
cpumask.h | 21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) macro 42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0] = 1UL<<(cpu); } else { cpus_clear(m); cpu_set((cpu), m); } m; })
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/ |
cpumask.h | 21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) macro 42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0] = 1UL<<(cpu); } else { cpus_clear(m); cpu_set((cpu), m); } m; })
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/ |
cpumask.h | 21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) macro 42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0] = 1UL<<(cpu); } else { cpus_clear(m); cpu_set((cpu), m); } m; })
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/ |
cpumask.h | 21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) macro 42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0] = 1UL<<(cpu); } else { cpus_clear(m); cpu_set((cpu), m); } m; })
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/ |
cpumask.h | 21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) macro 42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0] = 1UL<<(cpu); } else { cpus_clear(m); cpu_set((cpu), m); } m; })
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/linux/ |
cpumask.h | 21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) macro 42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0] = 1UL<<(cpu); } else { cpus_clear(m); cpu_set((cpu), m); } m; })
|
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/linux/ |
cpumask.h | 21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) macro 42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0] = 1UL<<(cpu); } else { cpus_clear(m); cpu_set((cpu), m); } m; })
|
/prebuilts/ndk/7/platforms/android-4/arch-x86/usr/include/linux/ |
cpumask.h | 21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) macro 42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigned long)) { m.bits[0] = 1UL<<(cpu); } else { cpus_clear(m); cpu_set((cpu), m); } m; })
|