lkml.org 
[lkml]   [2014]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 12/21] perf tools: Apply percent-limit to cumulative percentage
Date
On Sun, 5 Jan 2014 18:40:33 +0100, Jiri Olsa wrote:
> On Tue, Dec 24, 2013 at 05:22:18PM +0900, Namhyung Kim wrote:
>> + if (symbol_conf.cumulate_callchain) {
>> + percent = h->stat_acc->period * 100.0 /
>> + hb->hists->stats.total_period;
>> + } else {
>> + percent = h->stat.period * 100.0 /
>> + hb->hists->stats.total_period;
>> + }
>
> seems like above code (7 lines) should go to function

Will do!

Thanks,
Namhyung


\
 
 \ /
  Last update: 2014-01-06 10:41    [W:0.089 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site