lkml.org 
[lkml]   [2018]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 05/10] perf stat: Fix metric column display
Em Thu, Jun 07, 2018 at 12:15:08AM +0200, Jiri Olsa escreveu:
> Make the metric only display aligned.
>
> Before:
> # perf stat --topdown -I 1000
> # time core cpus retiring bad speculation frontend bound backend bound
> 1.000394323 S0-C0 2 37.4% 12.0% 31.4% 19.2%
> 1.000394323 S0-C1 2 25.1% 9.2% 43.8% 21.9%
> 2.001521204 S0-C0 2 36.4% 11.4% 32.4% 19.8%
> 2.001521204 S0-C1 2 26.2% 9.4% 43.1% 21.3%
> 3.001930208 S0-C0 2 35.1% 10.7% 33.6% 20.6%
> 3.001930208 S0-C1 2 28.9% 10.0% 40.0% 21.1%
>
> After:
> # perf stat --topdown -I 1000
> # time core cpus retiring bad speculation frontend bound backend bound
> 1.000303722 S0-C0 2 34.2% 7.6% 34.2% 24.0%
> 1.000303722 S0-C1 2 33.1% 6.4% 36.9% 23.6%
> 2.001281055 S0-C0 2 34.6% 6.7% 36.8% 21.8%
> 2.001281055 S0-C1 2 32.8% 7.1% 38.1% 22.0%
> 3.001546080 S0-C0 2 39.3% 5.5% 32.7% 22.5%
> 3.001546080 S0-C1 2 37.8% 6.0% 33.1% 23.1%

Thanks, tested, applied.

- Arnaldo

\
 
 \ /
  Last update: 2018-06-07 21:01    [W:0.320 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site