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