Hello, Pfmon does not really support time-based sampling. However you can emulate time-based sampling using event-based sampling and an event that has constant correlation to time, such as unhalted_reference_cycles. Simply choose the sampling period for this event that corresponds to 500ms on your machine.
On Sat, Feb 14, 2009 at 4:15 AM, Gaurav Dhiman <diman...@gmail.com> wrote: > Hello All, > > I have downloaded and installed perfmon2 2.6.28 on my Intel core based > machine. I have also installed libpfm and pfmon. I want to do a simple > time based sampling (every 500ms) of three events for a benchmark: > l2_lines_in, unhalted cycles and instructions retired. I find no > intuitive interface in the documentation that allows me to do this. > The only time based sampling option that I find is for system wide > counting, not for a thread. I see the event based sampling option, but > am not sure how to use it to do time based sampling across all the > three events. I wonder if I have missed some option in the > documentation, which allows me to do this in a straightforward > fashion. Any suggestions/hints would be really helpful. > > Thanks in advance, > -Gaurav > > ------------------------------------------------------------------------------ > 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 > ------------------------------------------------------------------------------ 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