From: "Wealand, Barry" <barry.wealand@lmco.com>
To: gdb@sourceware.org
Subject: Reconciling PowerPC simulator traces with performance monitor results
Date: Tue, 20 Mar 2007 17:52:00 -0000 [thread overview]
Message-ID: <8F507E88CEE37244AF6947A3E0E479DF123F88E5@emss01m14.us.lmco.com> (raw)
Hello -
I'm using the PowerPC simulator in GDB to collect instruction (-t
semantics) and load-store (-t load-store) traces for a pretty-good-sized
program (several hundred million trace lines). I then apply various
filters to the traces to collect measurements of interest. All of this
seems to work very well.
Then I run the exact same code on a PowerPC 750FX processor, which I set
up to collect performance monitor statistics. For example, I can
collect "completed load and store instructions", and "number of
instructions completed from the FPU". What puzzles me is that the
results that I collect from the simulator for these two counts in
particular are 10 to 15 percent lower than the results reported by the
performance monitor.
I'm guessing that this discrepancy might have something to do with the
details of how the performance monitor works, but the descriptions above
are typical of the level of detail provided in the 750 FX manual. I
wonder if anyone else has grappled with this, or might have any
suggestions.
Thanks!
Barry Wealand
Lockheed Martin Space Systems Company
next reply other threads:[~2007-03-20 17:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-20 17:52 Wealand, Barry [this message]
2007-03-20 19:34 ` Mark Kettenis
2007-03-20 19:49 ` Paul Koning
2007-03-20 19:55 ` Stan Shebs
2007-03-20 18:35 Wealand, Barry
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=8F507E88CEE37244AF6947A3E0E479DF123F88E5@emss01m14.us.lmco.com \
--to=barry.wealand@lmco.com \
--cc=gdb@sourceware.org \
/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