Bureaucrats, cc_docs_admin, cc_staff
2,318
edits
(Created page with "{{Draft}} =GNU Profiler (gprof) = == What is Gprof ? == [https://sourceware.org/binutils/docs/gprof/ Gprof] is a profiling software which collects information and statistics o...") |
No edit summary |
||
Line 4: | Line 4: | ||
[https://sourceware.org/binutils/docs/gprof/ Gprof] is a profiling software which collects information and statistics on your code. Generally, it searches for functions and subroutines in your program and insert timing instructions for each one. Then executing such modified program creates a raw data file which can be interpreted by Gprof and turned into profiling statistics. | [https://sourceware.org/binutils/docs/gprof/ Gprof] is a profiling software which collects information and statistics on your code. Generally, it searches for functions and subroutines in your program and insert timing instructions for each one. Then executing such modified program creates a raw data file which can be interpreted by Gprof and turned into profiling statistics. | ||
[https://sourceware.org/binutils/docs/gprof/ Gprof] comes with the GNU compiler (such as GCC or GFORTRAN) and | [https://sourceware.org/binutils/docs/gprof/ Gprof] comes with the GNU compiler (such as GCC or GFORTRAN) and is available with the <pre>gcc</pre> module on Compute Canada clusters. | ||
== Preparing your application == | == Preparing your application == |