How do I read gmon.out in Windows? Windows can't so much as open the file, so gmon.out options
doesn't quite work in the command-line window.
gprof is the tool that reads a gmon.out
file and displays information from it.
gprof <executable-filename> gmon.out > output.txt
Then open output.txt using any editor. See the manual: sourceware.org/binutils/docs-2.16/gprof