Searched refs:cpu (Results 76 - 100 of 230) sorted by relevance

12345678910

/external/kernel-headers/original/linux/
H A Dworkqueue.h66 extern int queue_delayed_work_on(int cpu, struct workqueue_struct *wq,
73 extern int schedule_delayed_work_on(int cpu, struct work_struct *work, unsigned long delay);
/external/linux-tools-perf/
H A Dperf.h194 pid_t pid, int cpu, int group_fd,
198 return syscall(__NR_perf_event_open, attr, pid, cpu,
193 sys_perf_event_open(struct perf_event_attr *attr, pid_t pid, int cpu, int group_fd, unsigned long flags) argument
H A Dbuiltin-kmem.c70 fp = fopen("/sys/devices/system/cpu/kernel_max", "r");
92 unsigned int cpu, mem; local
112 sscanf(dent2->d_name, "cpu%u", &cpu) < 1)
114 cpunode_map[cpu] = mem;
120 int bytes_req, int bytes_alloc, int cpu)
156 data->alloc_cpu = cpu;
199 int cpu,
215 insert_alloc_stat(call_site, ptr, bytes_req, bytes_alloc, cpu);
222 node1 = cpunode_map[cpu];
119 insert_alloc_stat(unsigned long call_site, unsigned long ptr, int bytes_req, int bytes_alloc, int cpu) argument
197 process_alloc_event(void *data, struct event *event, int cpu, u64 timestamp __used, struct thread *thread __used, int node) argument
258 process_free_event(void *data, struct event *event, int cpu, u64 timestamp __used, struct thread *thread __used) argument
284 process_raw_event(union perf_event *raw_event __used, void *data, int cpu, u64 timestamp, struct thread *thread) argument
[all...]
H A Dbuiltin-lock.c370 int cpu,
376 int cpu,
382 int cpu,
388 int cpu,
430 int cpu __used,
494 int cpu __used,
550 int cpu __used,
597 int cpu __used,
661 int cpu __used,
674 trace_handler->acquire_event(&acquire_event, event, cpu, timestam
732 process_raw_event(void *data, int cpu, u64 timestamp, struct thread *thread) argument
[all...]
/external/blktrace/
H A Dblkparse.c306 #define CPU_IDX(cpu) ((cpu) / CPUS_PER_LONG)
307 #define CPU_BIT(cpu) ((cpu) & (CPUS_PER_LONG - 1))
321 static void resize_cpu_info(struct per_dev_info *pdi, int cpu) argument
325 int new_count = cpu + 1;
357 static struct per_cpu_info *get_cpu_info(struct per_dev_info *pdi, int cpu) argument
361 if (cpu >= pdi->ncpus)
362 resize_cpu_info(pdi, cpu);
364 pci = &pdi->cpus[cpu];
485 int cpu; local
504 cpu_mark_online(struct per_dev_info *pdi, unsigned int cpu) argument
524 cpu_mark_offline(struct per_dev_info *pdi, int cpu) argument
529 cpu_is_online(struct per_dev_info *pdi, int cpu) argument
1959 int ret, cpu; local
2246 unsigned int cpu; member in struct:ms_stream
2393 ms_alloc(struct per_dev_info *pdi, int cpu) argument
2408 setup_file(struct per_dev_info *pdi, int cpu) argument
2507 int i, cpu, ret; local
[all...]
H A Dblktrace.h42 unsigned int cpu; member in struct:per_cpu_info
117 t->cpu = be16_to_cpu(t->cpu);
/external/oprofile/libpp/
H A Dop_header.cpp245 op_cpu cpu = static_cast<op_cpu>(header.cpu_type); local
248 return op_xml_print_event(cpu, header.ctr_event,
251 return op_print_event(cpu, header.ctr_event,
258 op_cpu cpu = static_cast<op_cpu>(header.cpu_type); local
262 string cpu_name = op_get_cpu_name(cpu);
266 str += string("CPU: ") + op_get_cpu_type_str(cpu);
H A Darrange_profiles.cpp70 comp = numeric_compare(lt.cpu, rt.cpu);
93 return numeric_compare(lt.cpu, rt.cpu) < 0;
110 { "cpu", "specify cpu: or --merge cpu" },
351 it->name += it->ptemplate.cpu;
352 it->longname = "Samples on CPU " + it->ptemplate.cpu;
395 if (!merge_by.cpu
446 size_t cpu = atoi(it->ptemplate.cpu.c_str()); local
[all...]
H A Darrange_profiles.h27 bool cpu; member in struct:merge_option
45 std::string cpu; member in struct:profile_template
/external/blktrace/btreplay/
H A Dbtrecord.c50 * @cpu: CPU that this file was collected on
57 int cpu, ifd; member in struct:ifile_info
303 * @cpu: CPU for this file
307 static void __add_input_file(int cpu, char *devnm, char *file_name) argument
311 iip->cpu = cpu;
332 int cpu, found = 0; local
340 for (cpu = 0; ; cpu++) {
343 sprintf(full_name, "%s/%s.blktrace.%d", idir, devnm, cpu);
[all...]
H A Dbtreplay.c98 * @cpu: CPU this thread is pinned to
113 int cpu, ifd, ofd, iterations; member in struct:thr_info
532 assert(0 <= tip->cpu && tip->cpu < ncpus);
535 CPU_SET(tip->cpu, &cpus);
546 fprintf(tip->vfp, "Pinned to CPU %02d ", tip->cpu);
790 tip->cpu);
852 * @cpu: CPU for this file
856 static void add_input_file(int cpu, char *devnm, char *file_name) argument
863 assert(0 <= cpu
961 int cpu = 0; local
[all...]
/external/netperf/
H A Dnetcpu_kstat.c48 need to pull the cpu info from
190 get_kstat_idle(cpu)
191 int cpu;
200 cpu_ks[cpu]);
203 nkcid = kstat_read(kc, cpu_ks[cpu], &cpu_stat);
207 return(cpu_stat.cpu_sysinfo.cpu[CPU_IDLE]);
353 /* the one that the user want for the cpu utilization */
/external/arduino/hardware/arduino/cores/arduino/
H A DWInterrupts.c111 #warning attachInterrupt may need some more work for this cpu (case 1)
159 #error detachInterrupt not finished for this cpu
171 #warning detachInterrupt may need some more work for this cpu (case 1)
/external/kernel-headers/original/asm-mips/
H A Dcpu-features.h12 #include <asm/cpu.h>
13 #include <asm/cpu-info.h>
14 #include <cpu-feature-overrides.h>
H A Dprocessor.h18 #include <asm/cpu.h>
19 #include <asm/cpu-info.h>
/external/oprofile/module/x86/
H A Dop_model_athlon.c85 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 Dop_model_ppro.c81 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);
/external/blktrace/btt/
H A Dmmap.c67 tp->cpu = be16_to_cpu(t->cpu);
/external/chromium/base/debug/
H A Dtrace_event.cc157 std::string cpu = StringPrintf("%.0f", process_metrics_->GetCPUUsage()); local
158 TRACE_EVENT_INSTANT("heartbeat.cpu", 0, cpu);
/external/chromium-trace/trace-viewer/src/
H A Dtimeline_filter.js51 matchCpu: function(cpu) {
/external/kernel-headers/original/asm-x86/
H A Dpercpu_32.h7 * PER_CPU finds an address of a per-cpu variable.
32 * PER_CPU finds an address of a per-cpu variable.
36 * cpu - 32bit register containing the current CPU number
38 * The resulting address is stored in the "cpu" argument.
66 #define per_cpu(var, cpu) (*({ \
68 RELOC_HIDE(&per_cpu__##var, __per_cpu_offset[cpu]); }))
89 /* fs segment starts at (positive) offset == __per_cpu_offset[cpu] */
H A Dthread_info_32.h32 __u32 cpu; /* current CPU */ member in struct:thread_info
75 .cpu = 0, \
/external/linux-tools-perf/util/include/linux/added/
H A Dhw_breakpoint.h88 int cpu);
125 int cpu) { return NULL; }
123 register_wide_hw_breakpoint_cpu(struct perf_event_attr *attr, perf_overflow_handler_t triggered, int cpu) argument
/external/llvm/tools/lto/
H A Dlto.cpp161 /// lto_codegen_set_cpu - Sets the cpu to generate code for.
162 void lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu) { argument
163 return cg->setCpu(cpu);
/external/oprofile/libop/
H A Dop_cpu_type.c22 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";

Completed in 451 milliseconds

12345678910