/external/autotest/client/tests/monotonic_time/src/ |
cpuset.h | 9 #define _GNU_SOURCE /* for cpu_set macros */
|
cpuset.c | 5 #define _GNU_SOURCE /* for cpu_set macros */ 14 * Return the number of cpus in a cpu_set 73 CPU_SET(cpu, cpus);
|
/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...] |
/build/kati/ |
affinity.cc | 28 CPU_SET(n, &cs); 30 CPU_SET(n + 1, &cs); 39 CPU_SET(i, &cs);
|
/external/autotest/client/tests/tsc/src/ |
sched.h | 12 /* Type for array elements in 'cpu_set'. */ 40 /* Access macros for `cpu_set'. */ 42 #define CPU_SET(cpu, cpusetp) __CPU_SET (cpu, cpusetp)
|
/frameworks/base/core/jni/ |
android_util_Process.cpp | 297 static void parse_cpuset_cpus(char *cpus, cpu_set_t *cpu_set) { 312 CPU_SET(start, cpu_set); 315 CPU_SET(i, cpu_set); 326 * SchedPolicy in the passed in cpu_set. 328 static void get_cpuset_cores_for_policy(SchedPolicy policy, cpu_set_t *cpu_set) 333 CPU_ZERO(cpu_set); 361 parse_cpuset_cpus(line, cpu_set); 377 void get_exclusive_cpuset_cores(SchedPolicy policy, cpu_set_t *cpu_set) { 399 cpu_set_t cpu_set; local [all...] |
/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; })
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
cpu_set_unittest.cc | 38 #include "client/linux/minidump_writer/cpu_set.h" 52 : AutoTestFile("cpu_set", text) {
|
/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/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
sched.h | 78 /* Access macros for `cpu_set'. */ 80 # define CPU_SET(cpu, cpusetp) __CPU_SET_S (cpu, sizeof (cpu_set_t), cpusetp)
|
/prebuilts/ndk/current/platforms/android-12/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/current/platforms/android-12/arch-mips/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/current/platforms/android-12/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/current/platforms/android-13/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/current/platforms/android-13/arch-mips/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/current/platforms/android-13/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/current/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/current/platforms/android-14/arch-mips/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/current/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/current/platforms/android-15/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/current/platforms/android-15/arch-mips/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/current/platforms/android-15/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/current/platforms/android-16/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/current/platforms/android-16/arch-mips/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/current/platforms/android-16/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; })
|