lkml.org 
[lkml]   [2015]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/9] perf, tools, stat: Move noise/running printing into printout
On Mon, Sep 21, 2015 at 04:50:00PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
>
> Move the running/noise printing into printout to avoid
> duplicated code in the callers.
>
> v2: Merged with other patches. Remove unnecessary hunk.
> Readd hunk that ended in earlier patch.
> Signed-off-by: Andi Kleen <ak@linux.intel.com>

before this patch:

[jolsa@krava perf]$ ./perf stat -e cycles -I 1000 -x, yes > /dev/null
1.000094538,3096196189,,cycles,999950202,100.00
2.000221468,3166074438,,cycles,1000343225,100.00
3.000337023,3176613442,,cycles,1000467727,100.00


after this patch:

[jolsa@krava perf]$ ./perf stat -e cycles -I 1000 -x, yes > /dev/null
1.000108411,3181447248,,cycles
2.000223843,3183422336,,cycles
3.000327830,3176506268,,cycles


jirka


\
 
 \ /
  Last update: 2015-09-24 11:21    [W:0.078 / U:1.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site