home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / cplus / 18223 < prev    next >
Encoding:
Text File  |  1992-12-21  |  960 b   |  27 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!news.cs.columbia.edu!ykim
  3. From: ykim@cs.columbia.edu (Yong Su Kim)
  4. Subject: profiling g++ code
  5. Message-ID: <BzHJwy.LpG@cs.columbia.edu>
  6. Sender: news@cs.columbia.edu (The Daily News)
  7. Organization: Columbia University Department of Computer Science
  8. Distribution: usa
  9. Date: Sat, 19 Dec 1992 02:50:58 GMT
  10. Lines: 15
  11.  
  12.  
  13. I have a C++ program and I would like to profile it to see which
  14. functions are taking the most time so that I can optimise those
  15. functions. 
  16.  
  17. I tried g++ -p, but I get an error message saying that the symbol
  18. "mcount" is undefined.
  19.  
  20. Are there other ways, or other programs which will allow me to
  21. determine which functions are taking the most time?
  22. -- 
  23. ===============================================================================
  24. Yong Su Kim, Class of 1993        |  Internet: yk4@cunixb.cc.columbia.edu
  25. Columbia College, Columbia University   |        or  ykim@cs.columbia.edu
  26.             
  27.