public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* gprof SID
@ 2007-02-13  7:36 Chuan-Hua Chang
  2007-02-13 11:36 ` Frank Ch. Eigler
  0 siblings, 1 reply; 2+ messages in thread
From: Chuan-Hua Chang @ 2007-02-13  7:36 UTC (permalink / raw)
  To: sid

Can I use gprof to profile SID? And if it is possible, then how should
I activate the -pg option when building the SID simulator?

Thanks.

- Chuanhua

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gprof SID
  2007-02-13  7:36 gprof SID Chuan-Hua Chang
@ 2007-02-13 11:36 ` Frank Ch. Eigler
  0 siblings, 0 replies; 2+ messages in thread
From: Frank Ch. Eigler @ 2007-02-13 11:36 UTC (permalink / raw)
  To: Chuan-Hua Chang; +Cc: sid

Hi -

> Can I use gprof to profile SID? And if it is possible, then how should
> I activate the -pg option when building the SID simulator?

This is possible: just configure with "--disable-shared" and build with

% make CXXFLAGS="-O2 -pg" LDFLAGS="-pg"

or something similar.

- FChE

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-13 11:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-13  7:36 gprof SID Chuan-Hua Chang
2007-02-13 11:36 ` Frank Ch. Eigler

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 read-only IMAP folder(s) and NNTP newsgroup(s).