/external/linux-tools-perf/util/ |
trace-event-read.c | 288 int cpu; member in struct:cpu_data 295 static void update_cpu_data_index(int cpu) 297 cpu_data[cpu].offset += page_size; 298 cpu_data[cpu].size -= page_size; 299 cpu_data[cpu].index = 0; 302 static void get_next_page(int cpu) 307 if (!cpu_data[cpu].page) 311 if (cpu_data[cpu].size <= page_size) { 312 free(cpu_data[cpu].page); 313 cpu_data[cpu].page = NULL [all...] |
/external/webrtc/src/system_wrappers/source/ |
cpu_mac.cc | 48 for (unsigned int cpu= 0; cpu < cpuCount; cpu++) 53 ticks += cpuLoadInfo[cpu].cpu_ticks[state]; 55 _lastTickCount[cpu] = ticks; 56 _cpuUsage[cpu] = 0; 120 for (unsigned int cpu = 0; cpu < cpuCount; cpu++) 125 ticks += cpuLoadInfo[cpu].cpu_ticks[state] [all...] |
/external/kernel-headers/original/linux/ |
cpumask.h | 6 * set of CPU's in a system, one bit position per CPU number. 20 * void cpu_set(cpu, mask) turn on bit 'cpu' in mask 21 * void cpu_clear(cpu, mask) turn off bit 'cpu' in mask 24 * int cpu_isset(cpu, mask) true iff bit 'cpu' set in mask 25 * int cpu_test_and_set(cpu, mask) test and set bit 'cpu' in mas [all...] |
kernel_stat.h | 13 * some kernel statistics (CPU usage, context switches ...), 35 #define kstat_cpu(cpu) per_cpu(kstat, cpu) 46 int cpu, sum = 0; local 48 for_each_possible_cpu(cpu) 49 sum += kstat_cpu(cpu).irqs[irq];
|
percpu.h | 25 * Use this to get to a cpu's version of the per-cpu object allocated using 26 * alloc_percpu. Non-atomic access to the current CPU's version should 29 #define per_cpu_ptr(ptr, cpu) \ 32 (__typeof__(ptr))__p->ptrs[(cpu)]; \ 40 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); })
|
/bionic/libc/kernel/arch-x86/asm/ |
hardirq_32.h | 40 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
hardirq_32.h | 40 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/asm/ |
hardirq_32.h | 32 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/asm/ |
hardirq_32.h | 32 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
|
/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/asm/ |
hardirq_32.h | 32 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/asm/ |
hardirq_32.h | 32 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
|
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/asm/ |
hardirq_32.h | 32 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
|
/prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/asm/ |
hardirq_32.h | 40 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
|
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/asm/ |
hardirq_32.h | 40 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
|
/external/kernel-headers/original/asm-x86/ |
smp_32.h | 46 #define cpu_physical_id(cpu) per_cpu(x86_cpu_to_apicid, cpu) 48 extern void set_cpu_sibling_map(int cpu); 53 extern void remove_siblinginfo(int cpu); 60 int (*cpu_up)(unsigned cpu); 64 void (*smp_send_reschedule)(int cpu); 80 static inline int __cpu_up(unsigned int cpu) 82 return smp_ops.cpu_up(cpu); 93 static inline void smp_send_reschedule(int cpu) 95 smp_ops.smp_send_reschedule(cpu); [all...] |
hardirq_32.h | 23 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
|
/external/linux-tools-perf/scripts/python/ |
netdev-times.py | 21 irq_dic = {}; # key is cpu and value is a list which stacks irqs 23 net_rx_dic = {}; # key is cpu and value include time of NET_RX softirq-entry 87 cpu = irq_list[0]['cpu'] 100 print "%d.%06dsec cpu=%d" % \ 101 (nsecs_secs(base_t), nsecs_nsecs(base_t)/1000, cpu) 227 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, vec): 230 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec) 233 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, vec): 236 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec [all...] |
/bionic/libc/kernel/common/linux/ |
percpu.h | 34 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); })
|
/development/ndk/platforms/android-3/include/linux/ |
percpu.h | 27 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); })
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
percpu.h | 27 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); })
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
percpu.h | 27 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); })
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
percpu.h | 27 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); })
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
percpu.h | 27 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); })
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
percpu.h | 27 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); })
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
percpu.h | 27 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); })
|