profile ... where is gmon.out
profile ... where is gmon.out
I compiled my program with the -profile switch. The exe gets bigger and slower, but I cannot find gmon.out!
gmon.out is generated when you exit you appliation.
maybe its getting slower because you have loops that constantly execute some instructions.
The idea of profiling is give your program a full run (testing everything) and then exit to check the collected data (gmon.out).
later you need gprof to generate textual information about the collecting process.
HTH,
Zero
maybe its getting slower because you have loops that constantly execute some instructions.
The idea of profiling is give your program a full run (testing everything) and then exit to check the collected data (gmon.out).
later you need gprof to generate textual information about the collecting process.
HTH,
Zero
Are you using a CVS version of FreeBASIC?
gprof profiling is only in the CVS, not the normal FB versions, do you have a profile.txt made anywhere?
If you just click on the executable, it may be made in a directory other than the executables, on linux I get it in my home directory, I'd imagine its the same for windows, it would get put in your documents and settings\user or similar
gprof profiling is only in the CVS, not the normal FB versions, do you have a profile.txt made anywhere?
If you just click on the executable, it may be made in a directory other than the executables, on linux I get it in my home directory, I'd imagine its the same for windows, it would get put in your documents and settings\user or similar