This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: newbiew at gcc argument
- From: lrtaylor at micron dot com
- To: <marcelo at jct dot ac dot il>, <gcc-help at gcc dot gnu dot org>
- Date: Wed, 16 Jun 2004 17:48:14 -0600
- Subject: RE: newbiew at gcc argument
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