0 votes 0 votes Find CPU time of computer with 500 MHz and following class distribution for program with 100 instructions. Class CPI Frequency 1 3 40% 2 5 20% 3 3 30% 4 1 10% Ans: 640ns CO and Architecture co-and-architecture cpu + – Alina asked Jan 3, 2019 Alina 491 views answer comment Share Follow See all 6 Comments See all 6 6 Comments reply Show 3 previous comments Alina commented Jan 3, 2019 reply Follow Share Yes 640ns. 0 votes 0 votes Prateek Raghuvanshi commented Jan 3, 2019 reply Follow Share Cpu time (execution time)=$\sum( instruction\; count*CPI)*cycle\; time$ Cycle time =$\frac{1}{500MHz}=2ns$ Cpu time =(40*3+50*2+30*3+10*1)*2ns=640ns 2 votes 2 votes Gupta731 commented Jan 3, 2019 reply Follow Share Oh I was calculating for single instruction :P 0 votes 0 votes Please log in or register to add a comment.