KASHIF BHAI YA LAIN
Assignkment#2
CS501
Question No. 1:
Find the execution time for a program that executes 60 million instructions on a processor with an average CPI of 1.0 and a clock period of 33.3 nsec.
Solution:
Execution time = IC * CPI * T
IC = 60 * 10 6
CPI = 1.0
T = 33.3 nsec = 33.3 * 10-9
Execution time = 60 * 10 6 * 1.0 * 33.3 * 10-9
= 1.998 Ans
Question No. 2:
Consider a program that executes 200 million instructions in 10 seconds. What is the MIPS rating for this program?
Solution:
MIPS = IC / ( ET * 106 )
IC = 200 millions
ET = 10 sec
MIPS = 200 millions / (10 * 106)
MIPS = 0.00002 Ans
--
--
Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and study material.
To post a new message on this group, send email to vuZs@googlegroups.com
Message Posting Rules: http://vuzs.net/faq/4795-vuzs-google-groups-basic-rules-for-posting-messages.html
--
To unsubscribe from this group, send email to vuZs+unsubscribe@googlegroups.com
--
To join this group Send blank email to vuZs+subscribe@googlegroups.com
or visit
http://groups.google.com/group/vuZs/subscribe
No comments:
Post a Comment