diff --git a/Performance-Analysis-setup.md b/Performance-Analysis-setup.md index 96de7ac..0ae8e9e 100644 --- a/Performance-Analysis-setup.md +++ b/Performance-Analysis-setup.md @@ -45,6 +45,17 @@ gprof -q ./ >[outputfilename with directory] + For a table with the top 10 lines of code for the script functions: + + + gprof -A -I -t ./ >[outputfilename with directory] + + + -A is for source code listing and -I for gprof to find the excecutable. + + + + ### Visualisation: