[comp.lang.c++] Profiling C++ code

farnum@renoir.Berkeley.EDU.UUCP (02/17/87)

I'm running CC 1.1 on Suns with 4.2BSD, and want to profile my programs;
preferably with gprof, but prof would do.  CC recognizes a -p switch,
but I get an error when I try to use it; the loader finds two _exit
routines, one from C++ and one from the prof library, and gives up.

Anyone have any luck with gprof, or any other profilers?

  /charlie