Searched refs:c1 (Results 1 – 4 of 4) sorted by relevance
/tools/power/cpupower/utils/helpers/ |
D | bitmask.c | 202 const char *c1, *c2; /* next tokens after '-' or ',' */ in bitmask_parselist() local 211 c1 = nexttoken(p, '-'); in bitmask_parselist() 213 if (c1 != NULL && (c2 == NULL || c1 < c2)) { in bitmask_parselist() 214 sret = sscanf(c1, "%u%c", &b, &nextc); in bitmask_parselist() 217 c1 = nexttoken(c1, ':'); in bitmask_parselist() 218 if (c1 != NULL && (c2 == NULL || c1 < c2)) { in bitmask_parselist() 219 sret = sscanf(c1, "%u%c", &s, &nextc); in bitmask_parselist()
|
/tools/perf/util/ |
D | help.c | 251 const struct cmdname *const *c1 = p1, *const *c2 = p2; in levenshtein_compare() local 252 const char *s1 = (*c1)->name, *s2 = (*c2)->name; in levenshtein_compare() 253 int l1 = (*c1)->len; in levenshtein_compare()
|
/tools/power/x86/turbostat/ |
D | turbostat.c | 126 unsigned long long c1; member 370 outp += sprintf(outp, "c1: %016llX\n", t->c1); in dump_counters() 502 outp += sprintf(outp, "%8.2f", 100.0 * t->c1/t->tsc); in format_counters() 671 old->c1 = new->c1 - old->c1; in delta_thread() 706 old->c1 = 0; in delta_thread() 709 old->c1 = old->tsc - old->mperf - core_delta->c3 in delta_thread() 757 t->c1 = 0; in clear_counters() 793 average.threads.c1 += t->c1; in sum_counters() 845 average.threads.c1 /= topo.num_cpus; in compute_average() 926 if (get_msr(cpu, MSR_CORE_C1_RES, &t->c1)) in get_counters()
|
/tools/perf/tests/ |
D | code-reading.c | 50 char c1, c2; in read_objdump_line() local 60 c1 = line[i++]; in read_objdump_line() 68 *(unsigned char *)*buf = (hex(c1) << 4) | hex(c2); in read_objdump_line()
|