GATE Computer ScienceModerateGATE CSE · NIELIT
A program of 2×10⁹ instructions runs on a 1.5 GHz processor. The mix is 40% instructions of CPI 1, 30% of CPI 2, 20% of CPI 3 and 10% of CPI 5. What is the execution time?
- A. 3.20 s
- B. 2.30 s
- C. 4.20 s
- D. 2.80 s
Correct answer: D. 2.80 s
Average CPI = 0.4 + 0.6 + 0.6 + 0.5 = 2.1; time = 2.1 × 2×10⁹ / 1.5×10⁹ = 2.80 s.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- An unpipelined datapath needs 10 ns per instruction. A 5-stage pipelined version has a clock period of 2.5 ns (including latch overhead)…
- Sixty percent of a program's execution time can be sped up by a factor of 5 and the rest cannot. What is the overall speedup, to two…
- An 8-bit processor adds 0x7F and 0x01 as two's-complement numbers. Which flag setting results?
- A system has 32-bit virtual addresses, 4 KB pages and 4-byte page-table entries with a single-level page table. What is the size of one…
- What is the IEEE 754 single-precision hexadecimal representation of −6.5?
- A two-level cache has an L1 hit time of 1 ns, an L1 miss rate of 10%, an L2 hit time of 6 ns, an L2 local miss rate of 20% and a…