/external/iptables/include/linux/netfilter/ |
H A D | xt_cpu.h | 7 __u32 cpu; member in struct:xt_cpu_info
|
/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/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-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/kernel-headers/original/linux/ |
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 | 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 | 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 | smp.h | 33 extern void smp_send_reschedule(int cpu); 72 * Mark the boot cpu "online" so that it can call console drivers in 73 * printk() and can access its per-cpu storage. 96 static inline void smp_send_reschedule(int cpu) { } argument
|
H A D | taskstats_kern.h | 76 int group_dead, unsigned int cpu) 74 taskstats_exit_send(struct task_struct *tsk, struct taskstats *tidstats, int group_dead, unsigned int cpu) argument
|
/external/webrtc/src/system_wrappers/test/ |
H A D | Test.cpp | 41 CpuWrapper* cpu = CpuWrapper::CreateCpu(); local 48 WebRtc_Word32 total = cpu->CpuUsageMultiCore(numCores, cores); 51 printf("Total cpu:%d\n", (int)total); 62 delete cpu;
|
/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/oprofile/libpp/ |
H A D | filename_spec.h | 80 generic_spec<int> cpu; member in class:filename_spec
|
H A D | parse_filename.h | 33 std::string cpu; member in struct:parsed_filename
|
H A D | profile_spec.h | 134 comma_list<int> cpu; member in class:profile_spec
|
/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/libop/ |
H A D | op_cpu_type.c | 22 op_cpu cpu; member in struct:cpu_descr 143 fprintf(stderr, "Could not read cpu type.\n"); 165 cpu_type = cpu_descrs[i].cpu; 184 return "invalid cpu type"; 193 return "invalid cpu type";
|
H A D | op_mangle.h | 48 int cpu; member in struct:mangle_values
|
/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 120 go(char* cpu) argument [all...] |
/external/kernel-headers/original/asm-x86/ |
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...] |
/external/oprofile/daemon/ |
H A D | opd_sfile.h | 49 unsigned int cpu; member in struct:sfile
|
/external/oprofile/module/x86/ |
H A D | op_model_athlon.c | 85 static void athlon_check_ctrs(uint const cpu, argument 95 op_do_profile(cpu, instruction_pointer(regs), IRQ_ENABLED(regs), i); 96 CTR_WRITE(oprof_data[cpu].ctr_count[i], msrs, i);
|
H A D | op_model_ppro.c | 81 static void ppro_check_ctrs(uint const cpu, argument 90 op_do_profile(cpu, instruction_pointer(regs), IRQ_ENABLED(regs), i); 91 CTR_WRITE(oprof_data[cpu].ctr_count[i], msrs, i);
|
H A D | op_rtc.c | 32 uint cpu = op_cpu_id(); local 47 op_do_profile(cpu, instruction_pointer(regs), IRQ_ENABLED(regs), 0); 127 static void rtc_start_cpu(uint cpu) argument 132 static void rtc_stop_cpu(uint cpu) argument
|
/external/chromium/base/debug/ |
H A D | trace_event.cc | 157 std::string cpu = StringPrintf("%.0f", process_metrics_->GetCPUUsage()); local 158 TRACE_EVENT_INSTANT("heartbeat.cpu", 0, cpu);
|
/external/chromium/chrome/browser/extensions/ |
H A D | extension_processes_api.cc | 31 double cpu, 38 result->SetDouble(keys::kCpuKey, cpu); 120 double cpu = model_->GetCPUUsage(i); local 133 CreateProcessValue(id, type, cpu, net, pr_mem, sh_mem)); 29 CreateProcessValue(int process_id, const std::string& type, double cpu, int64 net, int64 pr_mem, int64 sh_mem) argument
|