This is the mail archive of the gcc@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: profiling


kavii ita wrote:
I am trying to explore the gcc 's profiling support.It
is has great support for instrumenting application
with profiling code.

Gcc supports two kinds of profiling. The gprof profiling uses timers, and requires profil(). The gcov profiling uses counters, and does not require profil(). See the -fprofile-arcs and -ftest-coverage options. See also the gcov documentation.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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