首页 > 试题广场 >

Explain why interrupt and disp

[问答题]

Explain why interrupt and dispatch latency times must be bounded in

a hard real-time system.

推荐

Answer:Interrupt latency is the period of time required to perform the following tasks:save the currently executing instruction,determine the type of interupt,save the current process state,and then invoke the appropriate interrupt service routine.Dispatch latency is the cost associated with stopping one process and starting another.Both interrupt and dispatch latency needs to be minimized in order to ensure that real-time tasks receive immediate attention.Furthermore,sometimes interrupts are disabled when kernel data structures are being modified, so the interrupt does not get serviced immediately.For hard real-time systems,the time-period for which interrupts are disabled must be bounded in order to guarantee the desired quality of service.

发表于 2018-05-05 21:01:40 回复(0)