Profiling info
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Sun Apr 2 08:24:00 GMT 2000
> 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
More information about the Gcc
mailing list