Home
last modified time | relevance | path

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

/external/linux-tools-perf/util/
Dvalues.c134 int *counterwidth; in perf_read_values__display_pretty() local
136 counterwidth = malloc(values->counters * sizeof(*counterwidth)); in perf_read_values__display_pretty()
137 if (!counterwidth) in perf_read_values__display_pretty()
142 counterwidth[j] = strlen(values->countername[j]); in perf_read_values__display_pretty()
154 if (width > counterwidth[j]) in perf_read_values__display_pretty()
155 counterwidth[j] = width; in perf_read_values__display_pretty()
161 fprintf(fp, " %*s", counterwidth[j], values->countername[j]); in perf_read_values__display_pretty()
169 counterwidth[j], values->value[i][j]); in perf_read_values__display_pretty()
172 free(counterwidth); in perf_read_values__display_pretty()