public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: lrtaylor@micron.com
To: <marcelo@jct.ac.il>, <gcc-help@gcc.gnu.org>
Subject: RE: newbiew at gcc argument
Date: Wed, 16 Jun 2004 23:48:00 -0000	[thread overview]
Message-ID: <363801FFD7B74240A329CEC3F7FE4CC403095E3E@ntxboimbx07.micron.com> (raw)

Look at the -p and -pg arguments to gcc/g++.  However, you'll also need
to look at prof or gprof, because you'll need one of those programs to
analyze the profiling data.

Thanks,
Lyle


-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Marcelo Roitburd
Sent: Wednesday, June 16, 2004 4:25 PM
To: gcc help
Subject: newbiew at gcc argument


Hi All!

I'm a newbiew , i try to make a search in internte and don't found maybe
i 
can't make a good serach.my question is how in g++ or gcc i can make a 
profile of each funtion used in the code, this mean is how much time i 
spend in each function.

I know that i can do by argument, i don't want to write every entrey 
funtion time and every out funtion time..

anyone have some ideia?

thank you

marcelo

             reply	other threads:[~2004-06-16 23:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-16 23:48 lrtaylor [this message]
2004-06-18  8:49 ` Marcelo Roitburd
2004-06-18  9:02 ` Marcelo Roitburd
  -- strict thread matches above, loose matches on Subject: below --
2004-06-16 22:25 Marcelo Roitburd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=363801FFD7B74240A329CEC3F7FE4CC403095E3E@ntxboimbx07.micron.com \
    --to=lrtaylor@micron.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=marcelo@jct.ac.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).