Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/util/
Dvalues.c205 int *counterwidth; in perf_read_values__display_pretty() local
207 counterwidth = malloc(values->counters * sizeof(*counterwidth)); in perf_read_values__display_pretty()
208 if (!counterwidth) { in perf_read_values__display_pretty()
215 counterwidth[j] = strlen(values->countername[j]); in perf_read_values__display_pretty()
227 if (width > counterwidth[j]) in perf_read_values__display_pretty()
228 counterwidth[j] = width; in perf_read_values__display_pretty()
234 fprintf(fp, " %*s", counterwidth[j], values->countername[j]); in perf_read_values__display_pretty()
242 counterwidth[j], values->value[i][j]); in perf_read_values__display_pretty()
245 free(counterwidth); in perf_read_values__display_pretty()