Mail Archives: djgpp/1998/05/18/03:45:23
Inkel AT sion DOT com wrote in article <0667c3714041258PROXY AT sion DOT net>...
> Hi everybody
> Could somebody explain me how can I do to profile a program? (yeah, I
> know, with the -pg command line switch). My exactly question is:
>
> * I write a program,
> * Compile it with the -pg option,
> * I run the program,
> * Then, how, when, why?
>
The programm execution should produce a gmon.out file. Use command "gprof"
to examine the results (note that gprof required a.out - exec "gprof -h"
for more info).
- Raw text -