This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ms for maximum speed. We present a high-level model of such a machine based on some recent models of Intel processors. We devise a graphical notation that can be used to visualize the execution of instructions on the processor and to predict program performance. We conclude by discussing issues related to optimizing large programs. We describe the use of code proﬁlers—tools that measure the performance of different parts of a program. This analysis can help ﬁnd inefﬁciencies in the code and identify the parts of the program on which we should focus our optimization efforts. Finally, we present an important observation, known as Amdahl’s Law quantifying the overall effect of optimizing some portion of a system. In this presentation, we make code optimization look like a simple, linear process of applying a series of transformations to the code in a particular order. In fact, the task is not nearly so straightforward. A fair amount of trial-and-error experimentation is required. This is especially true as we approach the later optimization stages, where seemingly small cha...
View Full Document
- Spring '10
- The American