1个回答
2013-10-26
展开全部
T1: 5B + 8I + 2B,
T2: 5B + 8I +2B,
T3: 5B + 8I + 2B,
CPU执行顺序似乎是:
(1) CPU on T1的5B, so t= 5, 故T1开始IO;
(2) CPU on T2的5B, so t=5+5 = 10, 故T2开始IO;
(3) CPU on T3的3B,so t=10+3 = 13, 故T1完成 IO;
(4) CPU on T1的2B,so t=13+2 = 15, 故T1完成;
(5) CPU on T3的2B,so t=15+2 = 17, 故T3开始IO;
(6) CPU 空闲1, ,so t=17+1 = 18, 故T2完成 IO;
(7) CPU on T2的2B,so t=18+2 = 20, 故T2完成;
(8) CPU 空闲5, ,so t=20+5 = 25, 故T3完成 IO;
(9) CPU on T3的2B,so t=25+2 = 27, 故T3完成;
故(15)选C,(16)选D
T2: 5B + 8I +2B,
T3: 5B + 8I + 2B,
CPU执行顺序似乎是:
(1) CPU on T1的5B, so t= 5, 故T1开始IO;
(2) CPU on T2的5B, so t=5+5 = 10, 故T2开始IO;
(3) CPU on T3的3B,so t=10+3 = 13, 故T1完成 IO;
(4) CPU on T1的2B,so t=13+2 = 15, 故T1完成;
(5) CPU on T3的2B,so t=15+2 = 17, 故T3开始IO;
(6) CPU 空闲1, ,so t=17+1 = 18, 故T2完成 IO;
(7) CPU on T2的2B,so t=18+2 = 20, 故T2完成;
(8) CPU 空闲5, ,so t=20+5 = 25, 故T3完成 IO;
(9) CPU on T3的2B,so t=25+2 = 27, 故T3完成;
故(15)选C,(16)选D
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询