On Mon August 21 2006 10:42 am, Stephane Eranian wrote:
> I have also released a new libpfm, libpfm-3.2-060821, which includes:
>
>       - preliminary support for P4 32 and 64 bit mode by Kevin Corry from IBM
>
> Also a new version of pfmon, pfmon-3.2-060821, to take advantage of the
> update in libpfm:
>
>       - preliminary support for P4 32 and 64 bits by Kevin Corry from IBM.
>         Do not get too excited and it does not count anything just yet!

I've definitely been able to count things on P4 with pfmon.

[EMAIL PROTECTED] /home/corry]$ pfmon -l
[....]
TC_misc
global_power_events
tc_ms_xfer
uop_queue_writes
retired_mispred_branch_type
retired_branch_type
[...]
replay_event
instr_retired
uops_retired
uops_type
branch_retired
[...]

[EMAIL PROTECTED] /home/corry]$ pfmon -i global_power_events
Name   : global_power_events
Code   : 0x13
counter: [ 0 1 9 10 ]
Unit-mask 0: RUNNING
Desc   : Counts the time during which a processor is not stopped.

[EMAIL PROTECTED] /home/corry]$ pfmon -i instr_retired
Name   : instr_retired
Code   : 0x2
counter: [ 6 7 8 15 16 17 ]
Unit-mask 0: NBOGUSNTAG
Unit-mask 1: NBOGUSTAG
Unit-mask 2: BOGUSNTAG
Unit-mask 3: BOGUSTAG
Desc   : Number of instructions retired during a clock cycle.

[EMAIL PROTECTED] /home/corry]$ pfmon -u -k -e \ 
instr_retired:NBOGUSNTAG,global_power_events:RUNNING \
dd if=/dev/sda of=/dev/null bs=1M count=100
100+0 records in
100+0 records out
 41101170 instr_retired
241996609 global_power_events


Has anyone run tests on P4 where the counters didn't return valid data?

-- 
Kevin Corry
[EMAIL PROTECTED]
http://www.ibm.com/linux/
http://evms.sourceforge.net/
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to