delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/19/03:02:42

From: quacci AT vera DOT com (jon)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Any tips on optimizing C code?
Date: Mon, 19 May 1997 03:19:59 GMT
Organization: Yale University
Message-ID: <337fc3cc.7047272@news.cis.yale.edu>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970518172758 DOT 16797E-100000 AT is>
NNTP-Posting-Host: slip-ppp-node-02.cs.yale.edu
Lines: 34
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Sun, 18 May 1997 14:29:15 GMT, Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
wrote:

>
>On Fri, 16 May 1997, jon wrote:
>
>> I didn't even know I had gprof on my computer- but I do. Now, how do I
>> use it? running 
>> 
>> gprof example.exe
>> 
>> produces, in brief, a "gmon.out not found." Don't know what gmon.out
>> is/was.
>
>The FAQ explains a few facts of life about gprof in chapter 13.

Thanks for the tip. 

Also in this thread I was introduced to
http://www.delorie.com/gnu/docs/binutils-2.8/gprof_toc.html

which is even more detailed.

I'm still not successful at producing a gmon.out file- I think this
has something to do with my RHIDE setup separating the compile and
link in a way such that I don't actually link with any reference to
the needed special output-file option. I'll probably solve this
tommorow when I have a 1/2 hour or so to check.

Thanks to everyone for this great thread- has helped a lot. BTW,
Brennan's page has an excellent section on optimization which I had
missed in the past.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019