Gprof profiling output not appearing in .ros directory

asked 2019-09-10 14:58:01 -0500

Hi, I'm running a program using ROS Melodic, on Ubuntu 18.04.3 LTS. I'm following the instructions here: to try and profile my program using gprof. However, after I launch the nodes using roslaunch, the profiling output does not appear in ~/.ros.

I've added the -pg option to the compilation in the CMakeLists.txt files of all the packages, and I changed the launch files so each node outputs different outputs.

Thanks in advance for the help.

edit retag flag offensive close merge delete