java
sql
html
php
iphone
c
xml
ajax
python
database
linux
xcode
android
regex
mysql
flash
facebook
jsp
postgresql
dom
When running gprof, if you omit the name of the output file, gprof assumes a default name "gmon.out". This file should be in the same folder where you are running gprof.
So, when running the program, check that the output file gmon.out was correctly generated in the folder where you are running. Also pay attention to the directory, as you can read here
The gmon.out' file is written in the program's current working directory at the time it exits. This means that if your program calls chdir, thegmon.out' file will be left in the last directory your program chdir'd to. If you don't have permission to write in this directory, the file is not written.
gmon.out' file is written in the program's current working directory at the time it exits. This means that if your program calls chdir, the
( from: http://www.cs.utah.edu/dept/old/texinfo/as/gprof.html )
In that case you can specify the output file path as:
C:\QtSDK\mingw\bin>gprof QtGUI.exe path_to_outfile\gmon.out > profile.txt
Hope this helps.
Ciao!