Difference between revisions of "Gprof Tutorial"
Jump to navigation
Jump to search
Line 111: | Line 111: | ||
{{hidden begin | {{hidden begin | ||
|title = 3. What is gprof2dot? | |title = 3. What is gprof2dot? | ||
+ | }} | ||
<quiz display=simple> | <quiz display=simple> | ||
{ | { | ||
Line 125: | Line 126: | ||
{{hidden begin | {{hidden begin | ||
|title = 4. Does gprof work with MPI applications? | |title = 4. Does gprof work with MPI applications? | ||
+ | }} | ||
<quiz display=simple> | <quiz display=simple> | ||
{ | { | ||
Line 139: | Line 141: | ||
{{hidden begin | {{hidden begin | ||
|title = 5. How much overhead does gprof produce? | |title = 5. How much overhead does gprof produce? | ||
+ | }} | ||
<quiz display=simple> | <quiz display=simple> | ||
{ | { |
Revision as of 12:00, 2 November 2020
HPC.NRW | |
---|---|
Associated Pages | |
+ | This is an #HPC.NRW course |
HPC Courses | |
1. | Introduction to Linux in HPC |
2. | Gprof Tutorial |
3. | OpenMP in Small Bites
|
Gprof is a free and easy-to-use profiler.
Gprof Introduction + Pascal Example
Quiz
1. What lanuages can gprof profile?
2. How does gprof profiles an application?
3. What compiler flag is used to instrument the application?
How should the parameters be when running the instrumented application?
C++ + Fortran Examples
Show gprof in real world examples and introduce call graph.
Quiz
1. What is a call graph?
2. How do you generate a callgraph of a gprof profile?
3. What is gprof2dot?
4. Does gprof work with MPI applications?
5. How much overhead does gprof produce?