Searched refs:cpu (Results 101 - 125 of 544) sorted by last modified time

1234567891011>>

/external/oprofile/libpp/
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
H A Dfilename_spec.cpp38 if (!tid.match(rhs.tid) || !cpu.match(rhs.cpu) ||
72 cpu.set(parsed.cpu);
H A Dfilename_spec.h80 generic_spec<int> cpu; member in class:filename_spec
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 Dparse_filename.cpp26 // PP:3.19 event_name.count.unitmask.tgid.tid.cpu
54 result.cpu = parts[i++];
240 cpu == parsed.tid;
249 << data.tid << " " << data.cpu << endl;
H A Dparse_filename.h33 std::string cpu; member in struct:parsed_filename
H A Dprofile_spec.cpp70 parse_table["cpu"] = &profile_spec::parse_cpu;
179 cpu.set(str);
289 if (!comma_match(cpu, spec.cpu))
475 if (sscanf(dirent->d_name, "cpu%d", &cpu_nr) != 1)
H A Dprofile_spec.h134 comma_list<int> cpu; member in class:profile_spec
H A Dxml_utils.cpp42 return classes.v[0].ptemplate.cpu != "all";
106 return classes.v[pclass].ptemplate.cpu;
130 size_t cpu = atoi(classes.v[p].ptemplate.cpu.c_str()); local
131 if (cpu > cpus) cpus = cpu;
286 // when --separate=cpu we will have an event_subclass array for each cpu
305 size_t cpu = atoi(pclass.ptemplate.cpu local
[all...]
/external/oprofile/module/ia64/
H A Dop_pmu.c56 uint cpu = op_cpu_id(); local
61 op_do_profile(cpu, regs->cr_iip, 1, ctr);
62 set_pmd_neg(oprof_data[cpu].ctr_count[ctr], ctr);
319 /* printk(KERN_ALERT "oprofile_IA64: pmu_start on cpu %d\n",
389 pmu_select_start(uint cpu) argument
391 if (cpu == op_cpu_id())
394 smp_call_function(pmu_start, &cpu, 0, 1);
399 pmu_select_stop(uint cpu) argument
401 if (cpu == op_cpu_id())
404 smp_call_function(pmu_stop, &cpu,
411 int cpu, i; local
491 uint const cpu = op_cpu_id(); local
525 uint const cpu = op_cpu_id(); local
[all...]
/external/oprofile/module/
H A Doprofile.c58 inline static int need_wakeup(uint cpu, struct _oprof_data * data) argument
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) argument
72 if (likely(!need_wakeup(cpu, data)))
103 oprof_ready[cpu] = 1;
117 void op_do_profile(uint cpu, long eip, long irq_enabled, int ctr) argument
119 struct _oprof_data * data = &oprof_data[cpu];
127 evict_op_entry(cpu, data, irq_enabled);
135 static void stop_cpu_perfctr(int cpu) argument
138 int_ops->stop_cpu(cpu);
141 start_cpu_perfctr(int cpu) argument
338 int cpu; local
640 uint cpu; local
663 uint cpu; local
695 uint cpu; local
[all...]
H A Doprofile.h41 /* per-cpu dynamic data */
81 /* the cpu core type: CPU_PPRO, CPU_PII ... */
144 void op_do_profile(uint cpu, long eip, long irq_enabled, int ctr);
/external/oprofile/module/x86/
H A Dcpu_type.c82 unsigned int cpu;
99 cpu = 0;
101 if (apic_id[cpu] & ~mask) {
105 cpu++;
106 } while (cpu < smp_num_cpus);
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_p4.c388 int cpu; local
390 cpu = smp_processor_id();
391 return (cpu_sibling_map[cpu] > cpu) ? 0 : 1;
623 static void p4_check_ctrs(unsigned int const cpu, argument
659 op_do_profile(cpu, instruction_pointer(regs), IRQ_ENABLED(regs), i);
660 CTR_WRITE(oprof_data[cpu].ctr_count[i], real);
663 CTR_WRITE(oprof_data[cpu].ctr_count[i], real);
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);
H A Dop_nmi.c48 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...]
H A Dop_rtc.c32 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
H A Dop_x86_model.h38 void (*check_ctrs)(uint const cpu,
/external/oprofile/opcontrol/
H A Dopcontrol.cpp104 const char *cpu; member in struct:cpuevents
241 if (strcmp(buf, cpuevents[i].cpu) == 0) {
391 * 'num_events' represents the cpu internal counter number
494 if (strlen(dirent->d_name) >= 4 && memcmp(dirent->d_name, "cpu", 3) == 0) {
/external/oprofile/pp/
H A Dcommon_option.cpp242 merge_by.cpu = false;
257 if (*cit == "cpu") {
258 merge_by.cpu = true;
270 merge_by.cpu = true;
H A Doparchive_options.cpp92 merge_by.cpu = true;
H A Dopgprof_options.cpp62 merge_by.cpu = true;
/external/oprofile/utils/
H A Dopcontrol172 cpu: per CPU profiles
193 --cpu-buffer-size=num per-cpu buffer size in units (2.6 kernel)
566 cpu)
796 --cpu-buffer-size)
1319 echo "cpu-buffer-size not supported - ignored" >&2
1411 echo "Forcing required option --separate=cpu with SPU_CYCLES"
1489 --separate-cpu=$SEPARATE_CPU"
1577 SEPARATE="$SEPARATE cpu";

Completed in 465 milliseconds

1234567891011>>