Machine-translated by Google. Questions are authored in English.
Top

Discussion

A control task must run every 1 ms with less than 50 \( \mu \)s of jitter. Deriving its period from a 1 ms kernel tick is

  • A.ideal, the tick being exactly the period required
  • B.impossible, kernels being unable to offer a 1 ms tick
  • C.acceptable only if the task is given the lowest priority in the system
  • D.risky, tick handling and higher priority work adding jitter

Answer: D

The task is released when the tick handler runs, and anything ahead of it in priority delays it by an unpredictable amount. A dedicated hardware timer interrupt driving the loop directly, with the kernel used for everything else, is the usual answer.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.