lkml.org 
[lkml]   [2016]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 05/61] perf tools: Introduce c2c_decode_stats function
On Wed, Sep 21, 2016 at 11:18:29AM +0200, Jiri Olsa wrote:
> On Wed, Sep 21, 2016 at 09:08:40AM +0000, Stanislav Ievlev wrote:
> > Hi, Jiri!
> >
> > Why are you not using unsigned integer for counters in c2c_stats structure?
>
> hi,
> never really thought of that, because that's one of the original
> patches I could take almost untouched.. so no real reason ;-)

Hi Jirka,

I can't recall the reason Dick and myself started that way. I think it
makes sense to use u32 here. So I am fine with it. :-)

Cheers,
Don

>
> jirka
>
> >
> > On Mon, Sep 19, 2016 at 4:27 PM Jiri Olsa <jolsa@kernel.org> wrote:
> >
> > > Introducing c2c_decode_stats function, which decodes
> > > data_src data into new struct c2c_stats.
> > >
> > > +struct c2c_stats {
> > > + int nr_entries;
> > > +
> > > + int locks; /* count of 'lock' transactions */
> > > + int store; /* count of all stores in trace */
> > > + int st_uncache; /* stores to uncacheable address */
> > > + int st_noadrs; /* cacheable store with no address */
> > > + int st_l1hit; /* count of stores that hit L1D */
> > > + int st_l1miss; /* count of stores that miss L1D */
> > > + int load; /* count of all loads in trace */
> > > + int ld_excl; /* exclusive loads, rmt/lcl DRAM -
> > > snp none/miss */
> > > + int ld_shared; /* shared loads, rmt/lcl DRAM - snp
> > > hit */
> > > + int ld_uncache; /* loads to uncacheable address */
> > > + int ld_io; /* loads to io address */
> > > + int ld_miss; /* loads miss */
> > > + int ld_noadrs; /* cacheable load with no address */
> > > + int ld_fbhit; /* count of loads hitting Fill Buffer
> > > */
> > > + int ld_l1hit; /* count of loads that hit L1D */
> > > + int ld_l2hit; /* count of loads that hit L2D */
> > > + int ld_llchit; /* count of loads that hit LLC */
> > > + int lcl_hitm; /* count of loads with local HITM */
> > > + int rmt_hitm; /* count of loads with remote HITM */
> > > + int rmt_hit; /* count of loads with remote hit
> > > clean; */
> > > + int lcl_dram; /* count of loads miss to local DRAM
> > > */
> > > + int rmt_dram; /* count of loads miss to remote DRAM
> > > */
> > > + int nomap; /* count of load/stores with no phys
> > > adrs */
> > > + int noparse; /* count of unparsable data sources */
> > > +};
> > >
> > >

\
 
 \ /
  Last update: 2016-09-22 23:59    [W:0.113 / U:0.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site