Lecture 14
Learning objectives
After this class, you should be able to:
- Time code using the
rdtsc
counter.- Use performance tools, such as gprof, Tau, and Vtune to profile code and identify its performance bottlenecks.
- Dissasemble object code and read the assembly code to identify causes of performance problems.
Reading assignment
- Lecture 14 slides.
- Lecture 14 example codes.
Exercises and review questions
- Questions on current lecture's material
- Run the lecture 14 example codes on
gpu
and read the codes.- Check if the assembly timer in the lecture 14 example gives correct results. If not, fix the error.
- Profile the
ex1p
code usinggprof
.- (Post on the discussion board) Identify performance bottlenecks to any large code that you have written in the past, using any profiling tool. Summerize your conclusions on the discussion forum.
- Questions on next lecture's material
- None.