Mail Archives: djgpp/1998/03/04/20:46:01
D. Huizenga wrote in message <34FDED0E DOT 470EFD28 AT concentric DOT net>...
>Hi,
> I was going to try to profile a game I am writing to try and speed up
>the drawing routines, but every time I run "gprof a.exe" I get the
>message "gmon.out: No such file or directory (ENOENT)". Was "gmon.out"
>supposed to come with DJGPP? Thanks for your help.
Dan, make sure you are compiling/linking your program with the -pg switch.
Then when you run your program, it will emit a 'gmon.out' file. Then you
can run gprof on your executable.
Matt.
- Raw text -