Hi, On Tue, Jul 23, 2013 at 2:25 AM, Leonardo Piga <leonardo.p...@gmail.com> wrote: > Hello, > > I am trying to measure some performance counters on Ivy Bridge, which has 4 > PCM. I would like to know if there is a way to group up counters so that I > can measure events on the same time. > > For example, I need to measure 8 counters (e.g., A,B,C,D,E,F,G,H). And I > would like to sample A,B,C,D together and E,F,G,H together. > > How can I do this using libpfm? I saw that task.c on perf_examples has a way > to group up counters, but I couldn't use it. > task -e A,B,C,D -e E,F,G,H .....
Of course in each group, events have to be compatible with each other. That means they cannot conflict on a counter. If so then, try moving the conflicting events to separate groups. Also a group cannot have more events than there are counters. Note that by default the NMI watchdog uses one counter and runs all the time unless you disable it via /proc/sys/kernel/nmi_watchdog. > Thank you for any help, > > -- > Leonardo > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > perfmon2-devel mailing list > perfmon2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel > ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel