answersLogoWhite

0

What does gmon.out do in a program?

Updated: 12/18/2022
User Avatar

BryanJames16

Lvl 1
9y ago

Best Answer

gmon.out is used by the GNU profiling tool (gprof). It is written in the program's working directory just before the program you are profiling terminates normally. If the program terminates abnormally (via a low-level _exit or an unhandled exception) the file is not written.

The gprof syntax is:

gprof options executable-file gmon.out bb-data [yet-more-profile-data-files...] [> outfile]

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What does gmon.out do in a program?
Write your answer...
Submit
Still have questions?
magnify glass
imp