/prebuilts/ndk/android-ndk-r7/platforms/android-8/arch-arm/usr/include/asm/ |
smp.h | 23 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
/prebuilts/ndk/android-ndk-r7/platforms/android-8/arch-arm/usr/include/asm-generic/ |
topology.h | 16 #define cpu_to_node(cpu) (0)
|
/prebuilts/ndk/android-ndk-r7/platforms/android-8/arch-arm/usr/include/linux/ |
cpu.h | 21 struct cpu { struct
|
/prebuilts/ndk/android-ndk-r7/platforms/android-8/arch-x86/usr/include/asm-generic/ |
topology.h | 16 #define cpu_to_node(cpu) (0)
|
/prebuilts/ndk/android-ndk-r7/platforms/android-8/arch-x86/usr/include/linux/ |
cpu.h | 21 struct cpu { struct
|
/prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-arm/usr/include/asm/ |
smp.h | 23 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
/prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-arm/usr/include/asm-generic/ |
topology.h | 16 #define cpu_to_node(cpu) (0)
|
/prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-arm/usr/include/linux/ |
cpu.h | 21 struct cpu { struct
|
/prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-x86/usr/include/asm/ |
smp_32.h | 24 #define cpu_physical_id(cpu) boot_cpu_physical_apicid
|
/prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-x86/usr/include/asm-generic/ |
topology.h | 16 #define cpu_to_node(cpu) (0)
|
/prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-x86/usr/include/linux/ |
cpu.h | 21 struct cpu { struct
|
/external/linux-tools-perf/ |
builtin-stat.c | 5 * overview about any workload, CPU or specific PID. 17 6,735 CPU-migrations # 0.004 M/sec 375 int cpu; local 377 for (cpu = 0; cpu < evsel_list->cpus->nr; cpu++) { 378 if (__perf_evsel__read_on_cpu(counter, cpu, 0, scale) < 0) 381 count = counter->counts->cpu[cpu].values; 534 static void nsec_printout(int cpu, struct perf_evsel *evsel, double avg 917 int cpu; local [all...] |
/external/linux-tools-perf/scripts/perl/ |
workqueue-stats.pl | 40 $thread_comm, $thread_pid, $cpu) = @_; 69 my $cpu = 0; 70 printf("%3s %6s %6s\t%-20s\n", "cpu", "ins", "exec", "name"); 78 printf("%3u %6u %6u\t%-20s\n", $cpu, $ins, $exe, $comm); 81 $cpu++; 84 $cpu = 0; 86 printf("%3s %6s %6s\t%-20s\n", "cpu", "created", "destroyed", "name"); 94 printf("%3u %6u %6u\t%-20s\n", $cpu, $created, $destroyed, 98 $cpu++;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
sched.h | 81 /* Get index of currently used CPU. */ 103 /* Size definition for CPU sets. */ 111 # define __CPUELT(cpu) ((cpu) / __NCPUBITS) 112 # define __CPUMASK(cpu) ((__cpu_mask) 1 << ((cpu) % __NCPUBITS)) 114 /* Data structure to describe CPU mask. */ 120 /* Access functions for CPU masks. */ 134 # define __CPU_SET_S(cpu, setsize, cpusetp) \ 136 ({ size_t __cpu = (cpu); \ [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
sched.h | 81 /* Get index of currently used CPU. */ 103 /* Size definition for CPU sets. */ 111 # define __CPUELT(cpu) ((cpu) / __NCPUBITS) 112 # define __CPUMASK(cpu) ((__cpu_mask) 1 << ((cpu) % __NCPUBITS)) 114 /* Data structure to describe CPU mask. */ 120 /* Access functions for CPU masks. */ 134 # define __CPU_SET_S(cpu, setsize, cpusetp) \ 136 ({ size_t __cpu = (cpu); \ [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
sched.h | 81 /* Get index of currently used CPU. */ 103 /* Size definition for CPU sets. */ 111 # define __CPUELT(cpu) ((cpu) / __NCPUBITS) 112 # define __CPUMASK(cpu) ((__cpu_mask) 1 << ((cpu) % __NCPUBITS)) 114 /* Data structure to describe CPU mask. */ 120 /* Access functions for CPU masks. */ 134 # define __CPU_SET_S(cpu, setsize, cpusetp) \ 136 ({ size_t __cpu = (cpu); \ [all...] |
/external/oprofile/module/x86/ |
cpu_type.c | 3 * CPU determination 82 unsigned int cpu; 99 cpu = 0; 101 if (apic_id[cpu] & ~mask) { 105 cpu++; 106 } while (cpu < smp_num_cpus);
|
/system/extras/tests/binder/benchmarks/ |
binderAddInts.cpp | 29 * -c cpu - bind client to specified cpu (default: unbound) 30 * -s cpu - bind server to specified cpu (default: unbound) 57 const int unbound = -1; // Indicator for a thread not bound to a specific CPU 67 unbound, // Server CPU 68 unbound, // Client CPU 76 AddIntsService(int cpu = unbound); 94 static void bindCPU(unsigned int cpu); 118 case 'c': // client CPU 121 int cpu = strtoul(optarg, &chptr, 10); local 316 int cpu; local [all...] |
/external/oprofile/module/ |
oprofile.c | 58 inline static int need_wakeup(uint cpu, struct _oprof_data * data) 60 return data->nextbuf >= (data->buf_size - data->buf_watermark) && !oprof_ready[cpu]; 69 inline static void evict_op_entry(uint cpu, struct _oprof_data * data, long irq_enabled) 72 if (likely(!need_wakeup(cpu, data))) 79 * for the current CPU, we might have interrupted another user of e.g. 98 * by the current CPU. We make sure that any users of the wait queue (i.e. 103 oprof_ready[cpu] = 1; 117 void op_do_profile(uint cpu, long eip, long irq_enabled, int ctr) 119 struct _oprof_data * data = &oprof_data[cpu]; 127 evict_op_entry(cpu, data, irq_enabled) 338 int cpu; local 640 uint cpu; local 663 uint cpu; local 695 uint cpu; local [all...] |
/external/linux-tools-perf/util/ |
evsel.h | 34 struct perf_counts_values cpu[]; member in struct:perf_counts 103 int cpu, int thread, bool scale); 106 * perf_evsel__read_on_cpu - Read out the results on a CPU and thread 109 * @cpu - CPU of interest 113 int cpu, int thread) 115 return __perf_evsel__read_on_cpu(evsel, cpu, thread, false); 119 * perf_evsel__read_on_cpu_scaled - Read out the results on a CPU and thread, scaled 122 * @cpu - CPU of interes [all...] |
/external/linux-tools-perf/python/ |
twatch.py | 31 for cpu in cpus: 32 event = evlist.read_on_cpu(cpu) 35 print "cpu: %2d, pid: %4d, tid: %4d" % (event.sample_cpu,
|
/bionic/libc/kernel/arch-mips/asm/ |
cacheflush.h | 22 #include <asm/cpu-features.h>
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
cacheflush.h | 22 #include <asm/cpu-features.h>
|
/external/kernel-headers/original/asm-x86/ |
msr.h | 143 void rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h); 144 void wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h); 145 int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h); 146 int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h); 148 static inline void rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h) 152 static inline void wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) 156 static inline int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h) 160 static inline int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) 331 void rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h); 332 void wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) [all...] |
/external/oprofile/libop/ |
op_mangle.h | 48 int cpu; member in struct:mangle_values
|