Problem
A 900-MHz processor is used to execute a benchmark 10,000 instruction program with a set of instruction mix and CPI. Calculate the average CPI and program execution time.
Instruction Type
|
CPI
|
Instruction Mix
|
Arithmetic and logic
|
1
|
50%
|
Load/store with cache hit
|
2
|
30%
|
Branch
|
4
|
10%
|
Memory reference with cache miss
|
10
|
10%
|