It is multi-threaded.


On Mon, Sep 9, 2013 at 4:26 PM, Stephane Eranian <eranian@googlemail.com> wrote:
On Tue, Sep 3, 2013 at 8:51 AM, Bhavishya Goel <bhavishya.goel@gmail.com> wrote:
> Hi,
>
> I am using "task_cpu" example in perf_examples folder of libpfm4.4 (linux
> kernel 3.11-rc7, micrarchitecture: haswell). The counter numbers that I get
> from task_cpu seem to be wrong as they are vastly different than what I get
> from "task" example and Intel's PCM-TSX tool. This is an example of command
> line I use:
>
> task_cpu -i -e INSTRUCTIONS_RETIRED ./binary
>
> task -i -e INSTRUCTIONS_RETIRED ./binary
>
> The counter numbers from task_cpu are almost double of numbers from task.
> While, the numbers from PCM-TSX match the numbers from task. Is it a bug of
> am I doing something wrong?
>
Sorry for late reply.
Is your binary multi-process or multi-thread?

> --
> ಠ_ಠ
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> perfmon2-devel mailing list
> perfmon2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
>



--
ಠ_ಠ