Lecture 10

Learning objectives

After this class, you should be able to:

  1. Time code and micro-kernels, accounting for cache effects, etc, using GNU time and the rdtsc counter (on Intel x86).
  2. Use performance tools, such as gprof to identify performance bottlenecks in code.
  3. Compute bounds on performance of algorithms based on the memory bandwidth and flop rate of processors.

Reading assignment

  1. Refer to gprof and GNU time manuals.

Exercises and review questions


Last modified: 10 Feb 2010