This is the mail archive of the sid@sourceware.org mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gprof 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]