A benchmark Program with 50000 Integer, 40000 Data Transfer, 10000 Floating Point and 8000 Control Instructions is executed on a 100 MHz processor. The instructions require $1,2,2$, and 2 clock cycles respectively for execution. Calculate the CPI, MIPS and Execution Time of the benchmark.
Explanation
CPI is calculated by summing the product of each instruction type and its respective cycles, then dividing by the total number of instructions. MIPS is calculated by dividing the total number of instructions by the product of CPI and clock speed. Execution Time is calculated by dividing the total number of cycles by the clock speed.
โฌ Related Topic
๐ Syllabus
View KERALA UNIVERSITY Class 8 Syllabus โ
๐ Practice Questions
Practice Previous Year Questions โ
๐ค Practice with AI
Generate Practice Question Paper โ