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

12

/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/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/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/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/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/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/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) &&
/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/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/chromium_org/third_party/leveldatabase/src/db/
H A Ddb_bench.cc365 std::string cpu_type; local
376 cpu_type = val.ToString();
382 fprintf(stderr, "CPU: %d * %s\n", num_cpus, cpu_type.c_str());
/external/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DCommunicationKDP.cpp907 const uint32_t cpu_type = packet.GetU32 (&offset); local
909 s.Printf(" (cpu_mask=0x%8.8x, cpu_type=0x%8.8x, cpu_subtype=0x%8.8x)", cpu_mask, cpu_type, cpu_subtype);
/external/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.cpp1790 cpu_type_t cpu_type,
1849 if (cpu_type != 0)
1852 err.SetError( ::posix_spawnattr_setbinpref_np (&attr, 1, &cpu_type, &ocount), DNBError::POSIX);
1854 err.LogThreaded("::posix_spawnattr_setbinpref_np ( &attr, 1, cpu_type = 0x%8.8x, count => %llu )", cpu_type, (uint64_t)ocount);
1955 DNBLogThreadedIf(LOG_PROCESS, "MachProcess::%s ( ) pid=%i, cpu_type=0x%8.8x", __FUNCTION__, pid, pid_cpu_type);
1787 PosixSpawnChildForPTraceDebugging( const char *path, cpu_type_t cpu_type, char const *argv[], char const *envp[], const char *working_directory, const char *stdin_path, const char *stdout_path, const char *stderr_path, bool no_stdio, MachProcess* process, int disable_aslr, DNBError& err ) argument

Completed in 458 milliseconds

12