.Link code with pg option; Run program; Program generates gmon.out file; Run gprof program.To add profiling flags you must add to your CMakeLists.txt: [CMake] ...
確定! 回上一頁