05.08.2014 Views

Lecture Notes for Computer Architecture II - St. Cloud State University

Lecture Notes for Computer Architecture II - St. Cloud State University

Lecture Notes for Computer Architecture II - St. Cloud State University

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Question 14<br />

For the following set of variables, identify all of the subsets that can be used to<br />

calculate execution tie. Each subset should be minimal; that is, it should not contain<br />

any variable that is not needed.<br />

{CPI, clock rate, cycle time. MIPS, number of instructions in program, number of<br />

cycles in program}<br />

Page | 130<br />

Number of Instruction in Program I<br />

Number of Cycles in Program C<br />

{Clock rate, C} CPU time = C/Clock rate<br />

{Cycle time, C} CPU time = Cycle time*C<br />

{MIPS, I} CPU time = I/MIPS<br />

{CPI, C, MIPS} C/CPI*MIPS<br />

{CPI, I, Clock rate} Ex. time = CPI*I*1/Clock rate<br />

{CPI, I, Cycle time} Ex. time = CPI*I*Cycle time

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!