Module: Programming for Performance

Learning Outcomes

Code optimization

Readings

Measuring Performance

How to measure/characterize the performance of a program on a platform

Code Optimization

Main concepts and techniques for optimizing code, many of which are done for you by compilers

Programming for Locality

How to write code that promotes data reuse in the cache

Sample C source