This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Profiling info
- To: senti1 at k dot ro
- Subject: Re: Profiling info
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sun, 2 Apr 2000 17:20:49 +0200
- CC: gcc at gcc dot gnu dot org
- References: <200003311346.QAA03239@www.k.ro>
> 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