This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re : execution time of a c++ program


charfi asma <charfiasma@yahoo.fr> writes:

> I heared that gprof can provide such info, am I wrong ?

You can use gprof to tell you how much time is spent in different
functions in your program, yes.


> One of code optimization goal is to reduce execution time, and gcc users had to measure the execution time of a program to evaluate optimizations.
> they should be familiar with tools that measures the execution time...

Sure.  For example, the Unix time command.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]