Searched refs:cpu_string (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/base/
H A Dcpu.cc197 char cpu_string[48]; local
205 // before using memcpy to copy these three array elements to cpu_string.
209 memcpy(cpu_string, &cpu_info[1], 3 * sizeof(cpu_info[1]));
210 cpu_vendor_.assign(cpu_string, 3 * sizeof(cpu_info[1]));
255 char* cpu_string_ptr = cpu_string;
258 cpu_string_ptr < &cpu_string[sizeof(cpu_string)]; parameter++) {
263 cpu_brand_.assign(cpu_string, cpu_string_ptr - cpu_string);
/external/oprofile/libop/
H A Dop_cpu_type.c158 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);
H A Dop_cpu_type.h118 * @param cpu_string with either the cpu type identifier or cpu type number
122 op_cpu op_get_cpu_number(char const * cpu_string);
/external/oprofile/utils/
H A Dophelp.c33 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");
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dsvghelper.c238 char cpu_string[80]; local
250 sprintf(cpu_string, "CPU %i", (int)cpu+1);
252 10+time2pixels(first_time), cpu2y(cpu) + SLOT_HEIGHT/2, cpu_string);

Completed in 202 milliseconds