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]

Re: Profiling info


> Thanks for idea. I've found some sources which seems to be from
> gprof's library.

> 1. But how can i know if i've found all the sources ?

You could start by telling us what source exactly you've found, and
where you found it.

> 2. Are they coming in one separate package ?

gprof support is also part of gcc, by means of the 'gcc -pg'
option. So part of the gprof implementation is in gcc.

> 3. If yes, where i can find it ?

gcc source code is on gcc.gnu.org

> 4. Are there (on web) some docs with profiling algorithms
> or some other sources related with profiling libraries for gcc ?

Please have a look at the gprof manual, in particular (gprof)Details
(with subsections on implementation, the file format, internals and
debugging). For GCC, you'll find details in (gcc)Profiling. These are
all info files, which should come with your typical Linux
distribution.

Regards,
Martin


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