Home
last modified time | relevance | path

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

/linux-4.1.27/tools/perf/util/
Dvalues.c135 int *counterwidth; in perf_read_values__display_pretty() local
137 counterwidth = malloc(values->counters * sizeof(*counterwidth)); in perf_read_values__display_pretty()
138 if (!counterwidth) in perf_read_values__display_pretty()
143 counterwidth[j] = strlen(values->countername[j]); in perf_read_values__display_pretty()
155 if (width > counterwidth[j]) in perf_read_values__display_pretty()
156 counterwidth[j] = width; in perf_read_values__display_pretty()
162 fprintf(fp, " %*s", counterwidth[j], values->countername[j]); in perf_read_values__display_pretty()
170 counterwidth[j], values->value[i][j]); in perf_read_values__display_pretty()
173 free(counterwidth); in perf_read_values__display_pretty()