Searched defs:cpu_type (Results 1 - 19 of 19) sorted by relevance

/external/oprofile/libop/tests/
H A Dload_events_files_tests.c19 op_cpu cpu_type; local
23 for (cpu_type = CPU_NO_GOOD + 1; cpu_type < MAX_CPU_TYPE; ++cpu_type) {
24 if (cpu_type != CPU_TIMER_INT) {
25 op_events(cpu_type);
H A Dcpu_type_tests.c18 static struct cpu_type { struct
47 static void test(struct cpu_type const * cpu)
75 struct cpu_type * cpu;
H A Dalloc_counter_tests.c34 op_cpu cpu_type; member in struct:allocated_counter
155 op_events(it->cpu_type);
167 op_get_cpu_type_str(it->cpu_type));
172 counter_map = map_event_to_counter(event, nr_events, it->cpu_type);
213 for (it = tests; it->cpu_type != CPU_NO_GOOD; ++it)
/external/oprofile/libop/
H A Dop_cpu_type.c98 int op_cpu_variations(op_cpu cpu_type) argument
100 switch (cpu_type) {
109 op_cpu op_cpu_base_type(op_cpu cpu_type) argument
112 switch (cpu_type) {
121 return cpu_type;
127 int cpu_type = CPU_NO_GOOD; local
131 fp = fopen("/proc/sys/dev/oprofile/cpu_type", "r");
134 fp = fopen("/dev/oprofile/cpu_type", "r");
136 fprintf(stderr, "Unable to open cpu_type file for reading\n");
138 return cpu_type;
160 int cpu_type = CPU_NO_GOOD; local
181 op_get_cpu_type_str(op_cpu cpu_type) argument
190 op_get_cpu_name(op_cpu cpu_type) argument
199 op_get_nr_counters(op_cpu cpu_type) argument
[all...]
H A Dop_sample_file.h24 u32 cpu_type; member in struct:opd_header
H A Dop_xml_events.c18 static op_cpu cpu_type; variable
27 cpu_type = the_cpu_type;
48 switch (cpu_type) {
71 nr_counters = op_get_nr_counters(cpu_type);
H A Dop_hw_specific.h100 static inline unsigned arch_get_filter(op_cpu cpu_type) argument
102 if (op_cpu_base_type(cpu_type) == CPU_ARCH_PERFMON) {
123 static inline int arch_num_counters(op_cpu cpu_type) argument
125 if (op_cpu_base_type(cpu_type) == CPU_ARCH_PERFMON) {
138 static inline op_cpu op_cpu_specific_type(op_cpu cpu_type) argument
140 if (cpu_type == CPU_ARCH_PERFMON) {
159 return cpu_type;
164 static inline unsigned arch_get_filter(op_cpu cpu_type) argument
167 if (cpu_type != CPU_NO_GOOD)
172 static inline int arch_num_counters(op_cpu cpu_type) argument
185 op_cpu_specific_type(op_cpu cpu_type) argument
[all...]
H A Dop_alloc_counter.c198 op_cpu cpu_type)
207 * function with a non-native cpu_type. If so, we should not
212 if (cpu_type != curr_cpu_type)
213 nr_counters = op_get_nr_counters(cpu_type);
219 nr_counters = op_get_nr_counters(cpu_type);
197 map_event_to_counter(struct op_event const * pev[], int nr_events, op_cpu cpu_type) argument
H A Dop_events.c577 static void arch_filter_events(op_cpu cpu_type) argument
580 unsigned filter = arch_get_filter(cpu_type);
605 static void load_events(op_cpu cpu_type) argument
607 const char * cpu_name = op_get_cpu_name(cpu_type);
616 arch_filter_events(cpu_type);
627 struct list_head * op_events(op_cpu cpu_type) argument
629 load_events(cpu_type);
630 arch_filter_events(cpu_type);
814 char const * find_mapping_for_event(u32 nr, op_cpu cpu_type) argument
816 char const * cpu_name = op_get_cpu_name(cpu_type);
886 op_find_event(op_cpu cpu_type, u32 nr, u32 um) argument
897 op_find_event_any(op_cpu cpu_type, u32 nr) argument
904 op_check_events(int ctr, u32 nr, u32 um, op_cpu cpu_type) argument
949 op_default_event(op_cpu cpu_type, struct op_default_event_descr * descr) argument
[all...]
/external/oprofile/gui/
H A Doprof_start.h152 op_cpu cpu_type; member in class:oprof_start
/external/oprofile/libpp/
H A Dop_header.cpp169 string const op_print_event(op_cpu cpu_type, u32 type, u32 um, u32 count) argument
173 if (cpu_type == CPU_TIMER_INT) {
178 struct op_event * event = op_find_event(cpu_type, type, um);
181 event = op_find_event_any(cpu_type, type);
199 if (cpu_type != CPU_RTC) {
215 string const op_xml_print_event(op_cpu cpu_type, u32 type, u32 um, u32 count) argument
219 if (cpu_type == CPU_TIMER_INT || cpu_type == CPU_RTC)
222 struct op_event * event = op_find_event(cpu_type, type, um);
224 event = op_find_event_any(cpu_type, typ
[all...]
H A Dxml_utils.cpp163 string cpu_type; local
168 cpu_type = cpu_name;
171 cpu_type = cpu_name.substr(0, slash_pos);
175 str << init_attr(CPU_NAME, cpu_type) << endl;
/external/oprofile/module/
H A Doprofile.h82 int cpu_type; member in struct:oprof_sysctl
/external/oprofile/utils/
H A Dophelp.c32 static op_cpu cpu_type = CPU_NO_GOOD; variable
55 switch (cpu_type) {
96 nr_counters = op_get_nr_counters(cpu_type);
170 ret = op_check_events(0, event->val, pev->unit_mask, cpu_type);
194 size_t nr_counters = op_get_nr_counters(cpu_type);
235 counter_map = map_event_to_counter(selected_events, count, cpu_type);
282 op_default_event(cpu_type, &descr);
379 cpu_type = op_get_cpu_number(cpu_string);
381 cpu_type = op_get_cpu_type();
384 if (cpu_type
[all...]
/external/oprofile/daemon/
H A Doprofiled.c55 op_cpu cpu_type; variable
413 cpu_type = op_get_cpu_type();
414 op_nr_counters = op_get_nr_counters(cpu_type);
H A Dopd_ibs.c37 extern op_cpu cpu_type;
379 op_cpu cpu_type = CPU_NO_GOOD; local
385 cpu_type = op_get_cpu_type();
386 op_events(cpu_type);
/external/kernel-headers/original/asm-x86/
H A Dvm86.h110 unsigned long cpu_type; member in struct:vm86_struct
133 unsigned long cpu_type; member in struct:vm86plus_struct
177 unsigned long cpu_type; member in struct:kernel_vm86_struct
/external/valgrind/main/include/vki/
H A Dvki-x86-linux.h853 unsigned long cpu_type; member in struct:vki_vm86_struct
871 unsigned long cpu_type; member in struct:vki_vm86plus_struct
H A Dvki-arm-linux.h843 unsigned long cpu_type; member in struct:vki_vm86_struct
861 unsigned long cpu_type; member in struct:vki_vm86plus_struct

Completed in 226 milliseconds