WEEK12: 04/22/2022
Presented By: Bob Sinkovits ( sinkovit at sdsc.edu )
Description: The session will demonstrate how to profile CPU applications using the UNIX performance analysis tool gprof, which is supported by all major C, C++ and Fortran compilers, and AMD’s proprietary uProf tool. We will describe how profiling can be used to identify the regions of your software that account for the majority of the wall clock time. While both gprof and uProf can be used for simple time based profiling, uProf provides access to low-level systems counters and yields additional insights into factors that affect performance. The session will also touch briefly on the computer memory hierarchy and how to write your code to make best use of cache.
- Lecture material:
- Video Recording:
- Source Code/Examples: https://github.com/sinkovit/profiling-tutorial
Task 1 description
Task 2 description
If you are interested in getting CCR credit, or a certificate, we will track your work using automated scripts.
You will need to name the directories and permissions as described in the reporting_your_work.md
document here:
https://github.com/sdsc-hpc-training-org/hpc-training-2022/blob/main/reporting_your_work.md
For questions or comments, contact Mary Thomas @ mpthomas at ucsd.edu