Le 30 juin 05 à 15:49, Richard Frith-Macdonald a écrit :
It's many years since I tried profiling stuff with 'make
profile=yes' and using gprof
As far as I can recall. mostly when I did it, I was generally
optimising the base library, and statically linking it with a tiny
tool written to exercise the bit of code I was interested in.
Now I need to profile some real world programs which dynamically
link in the base library and several other Objective-C libraries,
and I'm having trouble. In spite of building all the ObjC
libraries with 'make debug=yes profile=yes', when I run gprof on
the gmon.out produced by the program, I get nothing reported for
the base library or any of my own objc libraries (which do most of
the work).
Am I doing something stupid?
Does anyone have experience with profiling share objc libraries
(I'm working on debian unstable intel).
If you have a Mac OS X system, why not use Shark to profile GNUstep…
It is truly excellent, I used it with Nicolas Roard on GNUstep-gui in
February.
Quentin.
--
Quentin Mathé
[EMAIL PROTECTED]
_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev