From: David Ahern <dsahern@gmail.com>
To: Peipei Wang <wangpeipei.90@gmail.com>
Cc: perf group <linux-perf-users@vger.kernel.org>
Subject: Re: How can I get the number of Generic counters and Fixed Counters in A computer
Date: Wed, 26 Jun 2013 13:18:15 -0600 [thread overview]
Message-ID: <51CB3E77.7030704@gmail.com> (raw)
In-Reply-To: <CAEuYUep2MwCdvWxjJKqSjLvTWPPdE6QTzUS-0AXkSnHBFiYYfQ@mail.gmail.com>
On 6/26/13 1:00 PM, Peipei Wang wrote:
> Hi all,
>
> I see from Perf wiki that if i put too many events in a perf stat,
> there will be something called multiplexing and scaling because of the
> number of counters provided by PMU. That wiki gives the Generic
> counter and Fixed counters For Intel Core and Nehalem.
>
> Does anybody know how to find the number of Both counters for Other
> processors?? Mine is Xelon.
Check the output of 'dmesg | grep -A 10 Perf'. e.g.,
[ 0.140962] Performance Events: PEBS fmt1+, 16-deep LBR, Westmere
events, Intel PMU driver.
[ 0.141302] perf_event_intel: CPUID marked event: 'bus cycles'
unavailable
[ 0.141412] ... version: 3
[ 0.141516] ... bit width: 48
[ 0.141623] ... generic registers: 4
[ 0.141732] ... value mask: 0000ffffffffffff
[ 0.141842] ... max period: 000000007fffffff
[ 0.141958] ... fixed-purpose events: 3
[ 0.142065] ... event mask: 000000070000000f
David
prev parent reply other threads:[~2013-06-26 19:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-26 19:00 How can I get the number of Generic counters and Fixed Counters in A computer Peipei Wang
2013-06-26 19:18 ` David Ahern [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51CB3E77.7030704@gmail.com \
--to=dsahern@gmail.com \
--cc=linux-perf-users@vger.kernel.org \
--cc=wangpeipei.90@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).