Home
last modified time | relevance | path

Searched refs:counterwidth (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/perf/util/
H A Dvalues.c206 int *counterwidth; in perf_read_values__display_pretty() local
208 counterwidth = malloc(values->counters * sizeof(*counterwidth)); in perf_read_values__display_pretty()
209 if (!counterwidth) { in perf_read_values__display_pretty()
216 counterwidth[j] = strlen(values->countername[j]); in perf_read_values__display_pretty()
228 if (width > counterwidth[j]) in perf_read_values__display_pretty()
229 counterwidth[j] = width; in perf_read_values__display_pretty()
235 fprintf(fp, " %*s", counterwidth[j], values->countername[j]); in perf_read_values__display_pretty()
243 counterwidth[j], values->value[i][j]); in perf_read_values__display_pretty()
246 free(counterwidth); in perf_read_values__display_pretty()