When I use Vtune to verify these values, it counts 0 loads and stores for
this loop as expected.

On Tue, Sep 23, 2014 at 7:06 PM, Bhavishya Goel <bhavishya.g...@gmail.com>
wrote:

> Hi,
>
> I am using the task example to count loads and stores for my application,
> which mainly constitutes of a loop doing some integer additions. The
> assembly of the loop looks like this:
>
> .L3:
> addl %eax, %ebx
> addl %ecx, %edx
> addl %esi, %edi
> addl $1, %ebp
> cmpl $1999999999, %ebp
> jle .L3
>
>
> This loop generates around 300K loads (MEM_UOPS_RETIRED:ALL_LOADS) and
> 200K stores (MEM_UOPS_RETIRED:ALL_STORES) as per task even though there are
> no memory operations in this loop. What can possibly generate these loads
> and stores? Could it have something to do with context switching?
>
> I am using an Ivy Bridge machine (HT turned off) with linux kernel 3.16.2
> and libpfm 4.5.0.
>
> Regards
> Bhavi
>
> --
> ಠ_ಠ
>



-- 
ಠ_ಠ
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to