public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: newbiew at gcc argument
@ 2004-06-16 23:48 lrtaylor
  2004-06-18  8:49 ` Marcelo Roitburd
  2004-06-18  9:02 ` Marcelo Roitburd
  0 siblings, 2 replies; 4+ messages in thread
From: lrtaylor @ 2004-06-16 23:48 UTC (permalink / raw)
  To: marcelo, gcc-help

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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* newbiew at gcc argument
@ 2004-06-16 22:25 Marcelo Roitburd
  0 siblings, 0 replies; 4+ messages in thread
From: Marcelo Roitburd @ 2004-06-16 22:25 UTC (permalink / raw)
  To: gcc help


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-18  9:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-16 23:48 newbiew at gcc argument lrtaylor
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

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).