This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How to know how much time each line consume in g++?
- To: gcc-help at gcc dot gnu dot org
- Subject: How to know how much time each line consume in g++?
- From: Gong Cheng <cheng_gong at yahoo dot com>
- Date: Sat, 2 Jun 2001 10:32:40 -0700 (PDT)
I am a Newbie of GNU C++. My platform is RedHat Linux
7.0.
I recently got a program written in GNU C++. It is
rather complex and very time consuming. I want to know
what lines consumes most machine time. For GNU C, gcc
-pg will enable the program to generate running
profile. It seems that g++ doesn't have such function.
Does there exist some program equal to Turbo Profile
under MS-DOS in Linux Platform?Does it mean that I
must change some source code of g++ compiler to meet
my needs?
Sincerely,
Cheng Gong
P.R. China
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/