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?

The command above causes a segfault on my system. Will have to debug
this. Which version (kernel/libpfm/pfmon) do you use?

Does this work?

 # pfmon true
 382068 CPU_CLK_UNHALTED

-Robert

-- 
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.rich...@amd.com


------------------------------------------------------------------------------
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

Reply via email to