79362297

Date: 2025-01-16 16:10:50
Score: 1
Natty:
Report link

I was able to get g++ -pg -g with -02 optimizations to work by removing the -l from gprof command. So first compile and run the program. Then move gmon.out and the binary compiled with debug options into the same directory. Then run sudo gprof binary_name gmon.out binary_name > output.txt

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Brian McCullough