Op 9-mrt-09, om 16:58 heeft Robert Richter het volgende geschreven: > On 09.03.09 15:37:38, frederick.ryckbo...@ugent.be wrote: >> I'm working on a program that dynamically inserts prefetches in >> program code. >> Now I'm trying to measure the number of prefetches executed by the >> program, when I use: >> >> pfmon -u -e PREFETCH_INSTRUCTIONS_DISPATCHED:ALL ./myprog > > What tells pfmon -I?
detected host CPUs: 4-way 2010MHz/0.5MB -- Quad-Core AMD Opteron(tm) Processor 2350 (stepping 3) detected PMU model: AMD64 (Barcelona RevB) max counters/set: 4 supported PMU models: [AMD64 (Barcelona RevB)] [Pentium 4] [Intel Core] [Intel P6 processor] [Intel Pentium II] [Intel Pentium Pro] [Intel Pentium M] [Intel Core Solo/Core Duo] [Intel architectural PMU] supported sampling modules: [inst-hist] [detailed] [compact] [raw] pfmlib version: 3.52 kernel perfmon version: 2.81 kernel clock resolution: 1ns (1000000000Hz) > The command above causes a segfault on my system. Will have to debug > this. Which version (kernel/libpfm/pfmon) do you use? Kernel version 2.6.26, Libpfm version 3.52, pfmon version 3.5. > Does this work? > > # pfmon true > 382068 CPU_CLK_UNHALTED Seems to work... pfmon true 1601240 CPU_CLK_UNHALTED Thanks in advance ! Fred ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel