[PATCH 07/11] perf, tools, stat: Avoid fractional digits for integer scales

2016-04-27 Thread Andi Kleen
From: Andi Kleen When the scaling factor is a full integer don't display fractional digits. This avoids unnecessary .00 output for topdown metrics with scale factors. v2: Remove redundant check. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 7 --- 1 file changed, 4 insertions(+

[PATCH 07/11] perf, tools, stat: Avoid fractional digits for integer scales

2016-04-04 Thread Andi Kleen
From: Andi Kleen When the scaling factor is a full integer don't display fractional digits. This avoids unnecessary .00 output for topdown metrics with scale factors. v2: Remove redundant check. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 7 --- 1 file changed, 4 insertions(+

[PATCH 07/11] perf, tools, stat: Avoid fractional digits for integer scales

2016-03-22 Thread Andi Kleen
From: Andi Kleen When the scaling factor is a full integer don't display fractional digits. This avoids unnecessary .00 output for topdown metrics with scale factors. v2: Remove redundant check. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 7 --- 1 file changed, 4 insertions(+