Searched refs:cpu_type (Results 1 - 25 of 52) sorted by relevance

123

/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_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.h30 * @param cpu_type cpu type
37 op_cpu cpu_type);
H A Dop_xml_events.h17 void open_xml_events(char const * title, char const * doc, op_cpu cpu_type);
H A Dop_events.h65 struct list_head * op_events(op_cpu cpu_type);
68 struct op_event * op_find_event(op_cpu cpu_type, u32 nr, u32 um);
69 struct op_event * op_find_event_any(op_cpu cpu_type, u32 nr);
79 char const * find_mapping_for_event(u32 val, op_cpu cpu_type);
95 * @param cpu_type processor type
103 int op_check_events(int ctr, u32 event, u32 um, op_cpu cpu_type);
118 * @param cpu_type cpu type
123 void op_default_event(op_cpu cpu_type, struct op_default_event_descr * descr);
H A Dop_cpu_type.h99 int op_cpu_variations(op_cpu cpu_type);
104 * returns cpu_type if cpu_type does not have a lowest common denominator.
106 op_cpu op_cpu_base_type(op_cpu cpu_type);
126 * @param cpu_type the cpu type identifier
129 * or "invalid cpu type" if cpu_type is not valid.
131 char const * op_get_cpu_type_str(op_cpu cpu_type);
135 * @param cpu_type the cpu identifier name
140 char const * op_get_cpu_name(op_cpu cpu_type);
144 * @param cpu_type numeri
[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_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/module/
H A Dop_init.c23 sysctl.cpu_type = get_cpu_type();
/external/lldb/tools/debugserver/source/
H A DDNBArch.cpp56 DNBArchProtocol::SetArchitecture (uint32_t cpu_type) argument
58 g_current_cpu_type = cpu_type;
60 DNBLogThreadedIf (LOG_PROCESS, "DNBArchProtocol::SetDefaultArchitecture (cpu_type=0x%8.8x) => %i", cpu_type, result);
67 if (arch_info.cpu_type)
68 g_arch_plugins[arch_info.cpu_type] = arch_info;
H A DDNBArch.h34 uint32_t cpu_type; member in struct:DNBArchPluginInfoTag
59 SetArchitecture (uint32_t cpu_type);
/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...]
/external/lldb/test/functionalities/exec/
H A Dmain.cpp26 cpu_type_t cpu_type,
49 if (cpu_type != 0)
52 err = posix_spawnattr_setbinpref_np (&attr, 1, &cpu_type, &ocount);
24 spawn_process(const char **argv, const char **envp, cpu_type_t cpu_type, int &err) argument
/external/oprofile/module/x86/
H A Dop_apic.c194 if (sysctl.cpu_type != CPU_PPRO &&
195 sysctl.cpu_type != CPU_PII &&
196 sysctl.cpu_type != CPU_PIII &&
197 sysctl.cpu_type != CPU_ATHLON &&
198 sysctl.cpu_type != CPU_HAMMER &&
199 sysctl.cpu_type != CPU_P4 &&
200 sysctl.cpu_type != CPU_P4_HT2)
/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/kernel-headers/original/uapi/asm-x86/asm/
H A Dvm86.h100 unsigned long cpu_type; member in struct:vm86_struct
122 unsigned long cpu_type; member in struct:vm86plus_struct
/external/lldb/tools/darwin-debug/
H A Ddarwin-debug.cpp109 cpu_type_t cpu_type,
143 if (cpu_type != 0)
146 exit_with_errno (::posix_spawnattr_setbinpref_np (&attr, 1, &cpu_type, &ocount), "posix_spawnattr_setbinpref_np () error: ");
182 cpu_type_t cpu_type = 0; local
200 cpu_type = CPU_TYPE_I386;
202 cpu_type = CPU_TYPE_X86_64;
204 cpu_type = CPU_TYPE_ARM;
337 cpu_type,
104 posix_spawn_for_debug( char *const *argv, char *const *envp, const char *working_dir, cpu_type_t cpu_type, int disable_aslr) argument
/external/oprofile/module/ia64/
H A DMakefile.in21 obj-y := cpu_type.o op_pmu.o op_syscalls.o oprofile_stubs.o
/external/oprofile/daemon/
H A Dopd_events.c30 extern op_cpu cpu_type;
85 if (cpu_type == CPU_TIMER_INT) {
160 header->cpu_type = cpu_type;
/external/chromium_org/base/process/
H A Dprocess_metrics_mac.cc51 bool GetCPUTypeForProcess(pid_t pid, cpu_type_t* cpu_type) { argument
52 size_t len = sizeof(*cpu_type);
54 cpu_type,
132 cpu_type_t cpu_type; local
133 if (!GetCPUTypeForProcess(process_, &cpu_type))
176 if (IsAddressInSharedRegion(address, cpu_type) &&

Completed in 5473 milliseconds

123