/external/oprofile/libop/tests/ |
H A D | load_events_files_tests.c | 19 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 D | cpu_type_tests.c | 18 static struct cpu_type { struct 47 static void test(struct cpu_type const * cpu) 75 struct cpu_type * cpu;
|
H A D | alloc_counter_tests.c | 34 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 D | main.cpp | 26 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 D | DNBArch.cpp | 56 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 D | DNBArch.h | 34 uint32_t cpu_type; member in struct:DNBArchPluginInfoTag 59 SetArchitecture (uint32_t cpu_type);
|
/external/oprofile/libop/ |
H A D | op_cpu_type.c | 98 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 D | op_sample_file.h | 24 u32 cpu_type; member in struct:opd_header
|
H A D | op_xml_events.c | 18 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 D | op_hw_specific.h | 100 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 D | op_alloc_counter.c | 198 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 D | op_events.c | 577 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 D | oprof_start.h | 152 op_cpu cpu_type; member in class:oprof_start
|
/external/lldb/tools/darwin-debug/ |
H A D | darwin-debug.cpp | 109 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 D | op_header.cpp | 169 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 D | xml_utils.cpp | 163 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 D | oprofile.h | 82 int cpu_type; member in struct:oprof_sysctl
|
/external/chromium_org/base/process/ |
H A D | process_metrics_mac.cc | 51 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 D | ophelp.c | 32 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 D | vm86.h | 100 unsigned long cpu_type; member in struct:vm86_struct 122 unsigned long cpu_type; member in struct:vm86plus_struct
|
/external/oprofile/daemon/ |
H A D | oprofiled.c | 55 op_cpu cpu_type; variable 413 cpu_type = op_get_cpu_type(); 414 op_nr_counters = op_get_nr_counters(cpu_type);
|
H A D | opd_ibs.c | 37 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 D | db_bench.cc | 365 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 D | CommunicationKDP.cpp | 907 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 D | MachProcess.cpp | 1790 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
|