作者b76516 (阿聪)
看板Grad-ProbAsk
标题[理工] [os]-96中正-资工
时间Wed Jan 20 14:54:51 2010
96年中正资工计算机系统问答题第一题
The background loop in a foreground / background system requires 90 ms to
complete if it is not interrupted. The flag DATA_RDY is polled once during
this background loop. If it is set, the system must respond and read in the
data that is ready. The foreground loop (ISR) in this system runs every 60 ms
and requires 30 ms to complete. Context switching time takes 1ms. Calculate
the worst-case response time of the system to recognize the DATA_RDY flag
(i.e. time from flag set to flag recognized). You must show your work for
full credit.
这一题我自己算是60+30+2*1=92 ms
不知道观念有没有哪里错误
请指教
谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.230.134.11