zettelkasten

Profile C Code

Last updated: 1/9/2025

You can use gprof and g++ to see how your code is running, use the -pg

Then after running the code type: gprof test_gprof gmon.out > analysis.txt

To look at the analysis

See Also

  1. https://www.thegeekstuff.com/2012/08/gprof-tutorial/
  2. [[c]]