lkml.org 
[lkml]   [2015]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH V2 5/6] perf,tools: caculate and save freq/CPU%/CORE_BUSY% in he_stat
Date
> 
> On Fri, Jul 24, 2015 at 09:48:31AM -0400, kan.liang@intel.com wrote:
>
> SNIP
>
> > struct addr_location *al,
> > @@ -109,6 +110,7 @@ struct hist_entry *__hists__add_entry(struct
> hists *hists,
> > struct branch_info *bi,
> > struct mem_info *mi, u64 period,
> > u64 weight, u64 transaction,
> > + struct freq_perf_info *freq_perf,
> > bool sample_self);
> > int hist_entry_iter__add(struct hist_entry_iter *iter, struct
> addr_location *al,
> > int max_stack_depth, void *arg);
> > diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h index
> > e97cd47..90422ed 100644
> > --- a/tools/perf/util/sort.h
> > +++ b/tools/perf/util/sort.h
> > @@ -54,6 +54,9 @@ struct he_stat {
> > u64 period_guest_us;
> > u64 weight;
> > u32 nr_events;
> > + u64 freq;
> > + u64 cpu_u;
>
> could the cpu_u have more descriptive name?

How about "cpu_util" or "cpu_utilization"?

Thanks,
Kan


\
 
 \ /
  Last update: 2015-07-27 19:41    [W:0.204 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site