Searched defs:cpu_string (Results 1 - 3 of 3) sorted by relevance
/external/chromium/base/ |
H A D | cpu.cc | 85 char cpu_string[0x20]; local 97 memset(cpu_string, 0, sizeof(cpu_string)); 98 *(reinterpret_cast<int*>(cpu_string)) = cpu_info[1]; 99 *(reinterpret_cast<int*>(cpu_string+4)) = cpu_info[3]; 100 *(reinterpret_cast<int*>(cpu_string+8)) = cpu_info[2]; 111 cpu_vendor_ = cpu_string;
|
/external/oprofile/libop/ |
H A D | op_cpu_type.c | 158 op_cpu op_get_cpu_number(char const * cpu_string) argument 164 if (!strcmp(cpu_descrs[i].name, cpu_string)) { 172 sscanf(cpu_string, "%d\n", &cpu_type);
|
/external/oprofile/utils/ |
H A D | ophelp.c | 33 static char * cpu_string; variable 298 { "cpu-type", 'c', POPT_ARG_STRING, &cpu_string, 0, 378 if (cpu_string) { 379 cpu_type = op_get_cpu_number(cpu_string); 386 cpu_string ? cpu_string : "unset");
|
Completed in 795 milliseconds