/external/clang/test/CodeGen/ |
H A D | pr4349.c | 10 struct cpu struct 14 extern struct cpu cpu; 19 // CHECK: @svars1 = global [1 x %struct.svar] [%struct.svar { i8* bitcast (%struct.cpu* @cpu to i8*) }] 22 { &((cpu.pc).w[0]) } 24 // CHECK: @svars2 = global [1 x %struct.svar] [%struct.svar { i8* getelementptr (i8* bitcast (%struct.cpu* @cpu to i8*), i64 1) }] 27 { &((cpu.pc).b[0][1]) } 29 // CHECK: @svars3 = global [1 x %struct.svar] [%struct.svar { i8* getelementptr (i8* bitcast (%struct.cpu* [all...] |
/external/kernel-headers/original/linux/ |
H A D | irq_cpustat.h | 6 * architecture. Some arch (like s390) have per cpu hardware pages and 21 #define __IRQ_STAT(cpu, member) (irq_stat[cpu].member) 29 #define nmi_count(cpu) __IRQ_STAT((cpu), __nmi_count) /* i386 */
|
H A D | cpu.h | 2 * include/linux/cpu.h - generic cpu definition 5 * basic 'struct cpu' here, which can be embedded in per-arch 8 * Basic handling of the devices is done in drivers/base/cpu.c 11 * CPUs are exported via sysfs in the class/cpu/devices/ 14 * Per-cpu interfaces can be implemented using a struct device_interface. 28 struct cpu { struct 34 extern int register_cpu(struct cpu *cpu, int num); 35 extern struct sys_device *get_cpu_sysdev(unsigned cpu); 89 cpu_is_offline(int cpu) argument [all...] |
H A D | node.h | 36 extern int register_cpu_under_node(unsigned int cpu, unsigned int nid); 37 extern int unregister_cpu_under_node(unsigned int cpu, unsigned int nid); 47 static inline int register_cpu_under_node(unsigned int cpu, unsigned int nid) argument 51 static inline int unregister_cpu_under_node(unsigned int cpu, unsigned int nid) argument
|
H A D | cpumask.h | 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 mask 44 * int next_cpu(cpu, mask) Next cpu pas 92 __cpu_set(int cpu, volatile cpumask_t *dstp) argument 98 __cpu_clear(int cpu, volatile cpumask_t *dstp) argument 119 __cpu_test_and_set(int cpu, cpumask_t *addr) argument [all...] |
H A D | kernel_stat.h | 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];
|
H A D | percpu.h | 25 * Use this to get to a cpu's version of the per-cpu object allocated using 29 #define per_cpu_ptr(ptr, cpu) \ 32 (__typeof__(ptr))__p->ptrs[(cpu)]; \ 40 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); })
|
/external/chromium/base/ |
H A D | cpu_unittest.cc | 5 #include "base/cpu.h" 17 base::CPU cpu; local 20 ASSERT_TRUE(cpu.has_mmx()); 25 if (cpu.has_sse()) { 30 if (cpu.has_sse2()) { 35 if (cpu.has_sse3()) { 40 if (cpu.has_ssse3()) { 45 if (cpu.has_sse41()) { 50 if (cpu.has_sse42()) { 55 ASSERT_TRUE(cpu [all...] |
/external/kernel-headers/original/asm-arm/ |
H A D | smp.h | 23 #define raw_smp_processor_id() (current_thread_info()->cpu) 67 extern int boot_secondary(unsigned int cpu, struct task_struct *); 78 extern void platform_secondary_init(unsigned int cpu); 90 extern int mach_cpu_disable(unsigned int cpu); 92 extern void __cpu_die(unsigned int cpu); 95 extern void platform_cpu_die(unsigned int cpu); 96 extern int platform_cpu_kill(unsigned int cpu); 97 extern void platform_cpu_enable(unsigned int cpu); 103 extern void local_timer_setup(unsigned int cpu); 108 extern void local_timer_stop(unsigned int cpu); 117 local_timer_setup(unsigned int cpu) argument 121 local_timer_stop(unsigned int cpu) argument [all...] |
/external/oprofile/libop/tests/ |
H A D | cpu_type_tests.c | 47 static void test(struct cpu_type const * cpu) argument 52 name = op_get_cpu_name(cpu->type); 53 if (cpu->type != CPU_NO_GOOD && strcmp(cpu->name, name)) { 54 printf("for %d expect %s found %s\n", cpu->type, cpu->name, 58 if (cpu->type == CPU_NO_GOOD && strcmp("invalid cpu type", name)) { 59 printf("for %d expect %s found %s\n", cpu->type, 60 "invalid cpu typ 75 struct cpu_type * cpu; local [all...] |
/external/kernel-headers/original/asm-mips/ |
H A D | smp.h | 25 #define raw_smp_processor_id() (current_thread_info()->cpu) 27 /* Map from cpu id to sequential logical cpu number. This will only 30 #define cpu_number_map(cpu) __cpu_number_map[cpu] 32 /* The reverse map from sequential logical cpu number to cpu id. */ 34 #define cpu_logical_map(cpu) __cpu_logical_map[cpu] 51 static inline void smp_send_reschedule(int cpu) argument [all...] |
/external/iptables/include/linux/netfilter/ |
H A D | xt_cpu.h | 7 __u32 cpu; member in struct:xt_cpu_info
|
/external/kernel-headers/original/asm-x86/ |
H A D | irq_32.h | 28 extern void irq_ctx_init(int cpu); 29 extern void irq_ctx_exit(int cpu); 32 # define irq_ctx_init(cpu) do { } while (0) 33 # define irq_ctx_exit(cpu) do { } while (0)
|
H A D | 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) argument 82 return smp_ops.cpu_up(cpu); 93 static inline void smp_send_reschedule(int cpu) argument 95 smp_ops.smp_send_reschedule(cpu); [all...] |
H A D | hardirq_32.h | 23 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
|
/external/valgrind/main/tests/ |
H A D | x86_amd64_features.c | 45 static Bool go(char* cpu) argument 50 if ( strcmp( cpu, "x86-fpu" ) == 0 ) { 53 } else if ( strcmp( cpu, "x86-cmov" ) == 0 ) { 56 } else if ( strcmp( cpu, "x86-mmx" ) == 0 ) { 59 } else if ( strcmp( cpu, "x86-mmxext" ) == 0 ) { 62 } else if ( strcmp( cpu, "x86-sse" ) == 0 ) { 65 } else if ( strcmp( cpu, "x86-sse2" ) == 0 ) { 68 } else if ( strcmp( cpu, "x86-sse3" ) == 0 ) { 71 } else if ( strcmp( cpu, "x86-ssse3" ) == 0 ) { 74 } else if ( strcmp( cpu, "x8 123 go(char* cpu) argument [all...] |
/external/kernel-headers/original/asm-mips/sn/ |
H A D | arch.h | 22 #define cputonasid(cpu) (sn_cpu_info[(cpu)].p_nasid) 23 #define cputoslice(cpu) (sn_cpu_info[(cpu)].p_slice) 62 #define CPUID_TO_COMPACT_NODEID(cpu) (cpuid_to_compact_node[(cpu)])
|
/external/kernel-headers/original/asm-mips/sibyte/ |
H A D | sb1250.h | 49 extern void sb1250_mask_irq(int cpu, int irq); 50 extern void sb1250_unmask_irq(int cpu, int irq); 53 extern void bcm1480_mask_irq(int cpu, int irq); 54 extern void bcm1480_unmask_irq(int cpu, int irq);
|
/external/linux-tools-perf/util/ |
H A D | trace-event-read.c | 288 int cpu; member in struct:cpu_data 295 static void update_cpu_data_index(int cpu) argument 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) argument 307 if (!cpu_data[cpu].page) 311 if (cpu_data[cpu].size <= page_size) { 312 free(cpu_data[cpu].page); 313 cpu_data[cpu] 366 calc_index(void *ptr, int cpu) argument 371 trace_peek_data(int cpu) argument 471 trace_read_data(int cpu) argument [all...] |
/external/webrtc/src/system_wrappers/source/ |
H A D | 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] [all...] |
/external/linux-tools-perf/scripts/python/ |
H A D | 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, nsec [all...] |
/external/blktrace/ |
H A D | verify_blkparse.c | 13 int major, minor, cpu, nr, alias; local 36 if (sscanf(p, "%3d,%3d %2d %8d %lf", &major, &minor, &cpu, &seq, &this_time) != 5) 47 if (cpu >= MAX_CPUS) { 48 fprintf(stderr, "cpu%d too large\n", cpu); 52 if (last_seq[cpu] == seq) { 57 last_seq[cpu] = seq;
|
/external/oprofile/module/x86/ |
H A D | op_nmi.c | 48 uint const cpu = op_cpu_id(); local 49 struct op_msrs const * const msrs = &cpu_msrs[cpu]; 51 model->check_ctrs(cpu, msrs, regs); 58 uint const cpu = op_cpu_id(); local 59 struct op_msrs const * const msrs = &cpu_msrs[cpu]; 75 uint const cpu = op_cpu_id(); local 76 struct op_msrs const * const msrs = &cpu_msrs[cpu]; 78 if (info && (*((uint *)info) != cpu)) 87 uint const cpu = op_cpu_id(); local 88 struct op_msrs const * const msrs = &cpu_msrs[cpu]; 97 pmc_select_start(uint cpu) argument 106 pmc_select_stop(uint cpu) argument 117 int cpu, i; local 190 uint const cpu = op_cpu_id(); local 243 uint const cpu = op_cpu_id(); local [all...] |
/external/chromium-trace/trace-viewer/src/ |
H A D | linux_perf_cpufreq_parser.js | 39 cpufreqSlice: function(ts, eventName, cpu, args) { 40 // TODO(sleffler) should be per-cpu 62 var event = /cpu=(\d+) targ=(\d+) actual=(\d+)/.exec(eventBase[5]); 66 // TODO(sleffler) split by cpu 67 var cpu = parseInt(event[1]); 70 this.cpufreqSlice(ts, eventName, cpu, 72 cpu: cpu, 81 var event = /cpu=(\d+) load=(\d+) cur=(\d+) targ=(\d+)/ 86 // TODO(sleffler) split by cpu [all...] |
/external/linux-tools-perf/scripts/perl/ |
H A D | 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++;
|